Class: Fontcustom::Options

Inherits:
Object
  • Object
show all
Includes:
Utility
Defined in:
lib/fontcustom/options.rb

Instance Method Summary collapse

Methods included from Utility

#behavior, #destination_root, #line_break, #methodize_hash, #options, #project_root, #say_changed, #say_message, #say_status, #shell, shell, #source_paths, #symbolize_hash, #write_file

Constructor Details

#initialize(cli_options = {}) ⇒ Options

Returns a new instance of Options.



8
9
10
11
12
# File 'lib/fontcustom/options.rb', line 8

def initialize(cli_options = {})
  @manifest = cli_options[:manifest]
  @cli_options = symbolize_hash(cli_options)
  parse_options
end