# LibTmux::Selection

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

Replayable captured membership. Snapshot construction owns record values.

## Members

### Common operations

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

### Other members

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