Class: SyntaxTree::CLI::Action
- Inherits:
-
Object
- Object
- SyntaxTree::CLI::Action
- Defined in:
- lib/syntax_tree/cli.rb
Overview
The parent action class for the CLI that implements the basics.
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #failure ⇒ Object
-
#initialize(options) ⇒ Action
constructor
A new instance of Action.
- #run(item) ⇒ Object
- #success ⇒ Object
Constructor Details
#initialize(options) ⇒ Action
Returns a new instance of Action.
75 76 77 |
# File 'lib/syntax_tree/cli.rb', line 75 def initialize() = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
73 74 75 |
# File 'lib/syntax_tree/cli.rb', line 73 def end |
Instance Method Details
#failure ⇒ Object
85 86 |
# File 'lib/syntax_tree/cli.rb', line 85 def failure end |
#run(item) ⇒ Object
79 80 |
# File 'lib/syntax_tree/cli.rb', line 79 def run(item) end |
#success ⇒ Object
82 83 |
# File 'lib/syntax_tree/cli.rb', line 82 def success end |