# LibTmux::Selection

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/selection.rb#L19
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection/

Replayable captured membership. Snapshot construction owns record values.

## Members

### Common operations

- [`one`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-one/) (method): Behavior: Selections.
- [`one_or_nil`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-one_or_nil/) (method): Behavior: Selections.
- [`size`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-size/) (method): Behavior: Selections.
- [`where`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-where/) (method): Behavior: Selections.

### Other members

- [`each`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-each/) (method): Behavior: Selections.
- [`empty?`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-empty/) (method): Behavior: Selections.
- [`exists?`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-exists/) (method): Behavior: Selections.
- [`filter`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-filter/) (method): Behavior: Selections.
- [`find_all`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-find_all/) (method): Behavior: Selections.
- [`length`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-length/) (method): Behavior: Selections.
- [`new`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-new/) (method): Behavior: Selections.
- [`reject`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-reject/) (method): Behavior: Selections.
- [`select`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-select/) (method): Behavior: Selections.
- [`to_a`](/en/ruby/v0.1.0.alpha.2/reference/libtmux-selection-to_a/) (method): Behavior: Selections.
