Class: Agate::CLI
- Inherits:
-
Object
- Object
- Agate::CLI
- Defined in:
- lib/agate/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #parse ⇒ Object
Constructor Details
#initialize ⇒ CLI
Returns a new instance of CLI.
8 9 10 |
# File 'lib/agate/cli.rb', line 8 def initialize = {} end |
Instance Method Details
#parse ⇒ Object
12 13 14 15 16 17 |
# File 'lib/agate/cli.rb', line 12 def parse parse_opts agate = Agate::Parser.new() agate.parse(ARGV.join) end |