Class: Gnomika::ArgParser
- Inherits:
-
Object
- Object
- Gnomika::ArgParser
- Defined in:
- lib/gnomikologikon/arg_parser.rb
Overview
Class used to parse command line arguments
Defined Under Namespace
Classes: GnomikaOptions
Class Method Summary collapse
-
.parse(arguments) ⇒ Object
Parses the given option into a struct.
Class Method Details
.parse(arguments) ⇒ Object
Parses the given option into a struct
27 28 29 30 31 32 |
# File 'lib/gnomikologikon/arg_parser.rb', line 27 def self.parse(arguments) = GnomikaOptions.new parser = create_parser() parser.parse(arguments) end |