Method: Filigree::Configuration::ClassMethods#add_option

Defined in:
lib/filigree/configuration.rb

#add_option(opt) ⇒ void

This method returns an undefined value.

Add an option to the necessary data structures.



198
199
200
201
# File 'lib/filigree/configuration.rb', line 198

def add_option(opt)
  @options_long[opt.long]   = opt
  @options_short[opt.short] = opt unless opt.short.nil?
end