Module: TTY::Option::DSL::Conversion

Included in:
TTY::Option::DSL, Parameter
Defined in:
lib/tty/option/dsl/conversion.rb

Instance Method Summary collapse

Instance Method Details

#list_of(type) ⇒ Object



11
12
13
# File 'lib/tty/option/dsl/conversion.rb', line 11

def list_of(type)
  :"#{type}_list"
end

#map_of(type) ⇒ Object



7
8
9
# File 'lib/tty/option/dsl/conversion.rb', line 7

def map_of(type)
  :"#{type}_map"
end