Module: RakeCommander::Options
- Included in:
- Set
- Defined in:
- lib/rake-commander/options.rb,
lib/rake-commander/options/set.rb,
lib/rake-commander/options/name.rb,
lib/rake-commander/options/error.rb,
lib/rake-commander/options/arguments.rb,
lib/rake-commander/options/error_rely.rb
Defined Under Namespace
Modules: Arguments, ClassMethods, Name
Classes: ErrorRely, InvalidArgument, MissingArgument, MissingOption, Set
Instance Method Summary
collapse
Instance Method Details
#options(argv = ARGV) ⇒ Object
160
161
162
|
# File 'lib/rake-commander/options.rb', line 160
def options(argv = ARGV)
@options ||= self.class.parse_options(argv, leftovers: self.options_leftovers)
end
|
#options_leftovers ⇒ Object
164
165
166
|
# File 'lib/rake-commander/options.rb', line 164
def options_leftovers
@options_leftovers ||= []
end
|