# LibTmux::Selection

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

Replayable captured membership. Snapshot construction owns record values.

## Members

### Common operations

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

### Other members

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

## Guides

Pages that discuss `Selection`.

### Concepts

- [Execution modes](/en/ruby/v0.1.2/concepts/transports/)

### Topics

- [Ownership and errors](/en/ruby/v0.1.2/topics/errors-and-exceptions/)
