Class: Rhinestone::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rhinestone/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Config

Returns a new instance of Config.



6
7
8
# File 'lib/rhinestone/config.rb', line 6

def initialize(argv)
  @options = extract_options(argv)
end

Instance Method Details

#to_hObject



10
11
12
# File 'lib/rhinestone/config.rb', line 10

def to_h
  @options
end