Class: CookbookReader::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/cookbook-reader/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Options

Returns a new instance of Options.



8
9
10
# File 'lib/cookbook-reader/options.rb', line 8

def initialize(argv)
  parse(argv)
end

Instance Attribute Details

#path_to_searchObject (readonly)

Returns the value of attribute path_to_search.



6
7
8
# File 'lib/cookbook-reader/options.rb', line 6

def path_to_search
  @path_to_search
end