Class: Ali::CLI
- Inherits:
-
Object
- Object
- Ali::CLI
- Defined in:
- lib/ali/cli.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
4 5 6 |
# File 'lib/ali/cli.rb', line 4 def arguments @arguments end |
Instance Method Details
#run ⇒ Object
10 11 12 |
# File 'lib/ali/cli.rb', line 10 def run @arguments.task.perform end |