Module: OptionsParser

Included in:
SubCommandBase
Defined in:
lib/emasser/options_parser.rb

Instance Method Summary collapse

Instance Method Details

#optional_options(initializer) ⇒ Object



8
9
10
# File 'lib/emasser/options_parser.rb', line 8

def optional_options(initializer)
  options_that_are(initializer, :optional)
end

#required_options(initializer) ⇒ Object



4
5
6
# File 'lib/emasser/options_parser.rb', line 4

def required_options(initializer)
  options_that_are(initializer, :required)
end