Class: Tmux::Options::SymbolOption Private

Inherits:
Option
  • Object
show all
Defined in:
lib/tmux/options/symbol_option.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

See Also:

Direct Known Subclasses

AttrOption, BellActionOption, ClockModeStyleOption, ColorOption, JustificationOption, KeymapOption

Class Method Summary (collapse)

Class Method Details

+ (Symbol) from_tmux(value)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

See Also:



12
13
14
# File 'lib/tmux/options/symbol_option.rb', line 12

def from_tmux(value)
  super || value.to_sym
end

+ (String) to_tmux(value)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

See Also:



20
21
22
# File 'lib/tmux/options/symbol_option.rb', line 20

def to_tmux(value)
  super || value.to_s
end