Class: Tmux::Options::ColorOption Private
- Inherits:
-
SymbolOption
- Object
- Option
- SymbolOption
- Tmux::Options::ColorOption
- Defined in:
- lib/tmux/options/color_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
- .to_tmux(value) ⇒ String private
Methods inherited from SymbolOption
Methods inherited from Option
Class Method Details
.to_tmux(value) ⇒ String
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.
13 14 15 16 17 18 19 |
# File 'lib/tmux/options/color_option.rb', line 13 def to_tmux(value) if ![:black, :red, :green, :yellow, :blue, :magenta, :cyan, :white, :default].include?(value) && value !~ /^colour\d+$/ raise ArgumentError end super end |