# LibTmux::Server#options

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/d8ce4bbee0ca7748a81929f81f7d8d07f8c51267/gems/libtmux/lib/libtmux/operations.rb#L7
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.3/reference/libtmux-server-options/

tmux catalog: [Options](/en/tmux/latest/catalog/options/)

```
def options: (
  ?scope: :server | :session | :window
) -> ::LibTmux::Options
```

Behavior: Options and hooks.

Behavior contract: Options and hooks.

## Parameters

- `scope` (`:server | :session | :window`)

## In other ports

### Read the options set on the server

- Python: [`libtmux.Server.show_options`](/en/py/latest/reference/libtmux-server-show_options/) (method)
- TypeScript: [`server.Server.showOptions`](/en/ts/latest/reference/server-server-showoptions/) (method)
- Rust: [`server.Server.options`](/en/rs/latest/reference/server-server-options/) (method)
- Go: [`tmux.Server.Options`](/en/go/latest/reference/tmux-server-options/) (method)
- Java: [`io.github.libtmux.Server.Server.options`](/en/java/latest/reference/io-github-libtmux-server-server-options/) (method)
- C#: [`LibTmux.Server.Options`](/en/csharp/latest/reference/libtmux-server-options/) (property)
- C++: [`libtmux::Server::options`](/en/cxx/latest/reference/libtmux-server-options/) (method)
- Swift: [`Server.options(_:)`](/en/swift/latest/reference/server-options(_-)/) (method)
