Class: Archfiend::Generators::Options

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/archfiend/generators/options.rb

Constant Summary collapse

SETTINGS_FILE =
'.archfiend'.freeze

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Options

Returns a new instance of Options.



12
13
14
15
# File 'lib/archfiend/generators/options.rb', line 12

def initialize(args)
  default_args = parse_archfiend_file || []
  @options = parse_options(default_args + args)
end