class Tmux::Options::NumberOption
@api private @see Option
Public Class Methods
from_tmux(value)
click to toggle source
@param (see Option.from_tmux
) @return [Number, Symbol] @api private @see Option.from_tmux
Calls superclass method
# File lib/tmux/options/number_option.rb, line 12 def from_tmux(value) super || value.to_i end
to_tmux(value)
click to toggle source
@param (see Option.to_tmux
) @return (see Option.to_tmux
) @see Option.to_tmux
@api private
Calls superclass method
# File lib/tmux/options/number_option.rb, line 20 def to_tmux(value) super || value.to_s end