# LibTmux::Server#options

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

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

Behavior: Options and hooks.

Behavior contract: Options and hooks.

## 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)
