Class: Archfiend::Generators::Options
- Inherits:
-
Object
- Object
- Archfiend::Generators::Options
- Extended by:
- Forwardable
- Defined in:
- lib/archfiend/generators/options.rb
Constant Summary collapse
- SETTINGS_FILE =
'.archfiend'.freeze
Instance Method Summary collapse
-
#initialize(args) ⇒ Options
constructor
A new instance of Options.
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 = (default_args + args) end |