module MxxRu::Externals::Impl::OptionsHolder

Public Instance Methods

option(*values) click to toggle source
# File lib/mxx_ru/externals.rb, line 101
def option(*values)
  make_options.push(*values)
end

Protected Instance Methods

push_options_to(receiver) click to toggle source
# File lib/mxx_ru/externals.rb, line 107
def push_options_to(receiver)
  receiver.push(*@options)
end

Private Instance Methods

make_options() click to toggle source
# File lib/mxx_ru/externals.rb, line 113
def make_options
  @options = [] unless @options
  @options
end
options_to_map() click to toggle source
# File lib/mxx_ru/externals.rb, line 118
def options_to_map
  { options: @options }
end