Class: Tmux::Options::CharArrayOption Private
- Inherits:
-
Option
- Object
- Option
- Tmux::Options::CharArrayOption
- Defined in:
- lib/tmux/options/char_array_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.
Class Method Summary (collapse)
- + (Array<String>, Symbol) from_tmux(value) private
- + (String) to_tmux(value) private
Class Method Details
+ (Array<String>, 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.
12 13 14 |
# File 'lib/tmux/options/char_array_option.rb', line 12 def from_tmux(value) super || StringOption.from_tmux(value).split("") 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.
20 21 22 |
# File 'lib/tmux/options/char_array_option.rb', line 20 def to_tmux(value) super || value.join("") end |