Class: SyntaxTree::CLI::Action
- Inherits:
-
Object
- Object
- SyntaxTree::CLI::Action
show all
- Defined in:
- lib/syntax_tree/cli.rb
Overview
The parent action class for the CLI that implements the basics.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(options) ⇒ Action
105
106
107
|
# File 'lib/syntax_tree/cli.rb', line 105
def initialize(options)
@options = options
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
103
104
105
|
# File 'lib/syntax_tree/cli.rb', line 103
def options
@options
end
|
Instance Method Details
#failure ⇒ Object
115
116
|
# File 'lib/syntax_tree/cli.rb', line 115
def failure
end
|
#run(item) ⇒ Object
109
110
|
# File 'lib/syntax_tree/cli.rb', line 109
def run(item)
end
|
#success ⇒ Object
112
113
|
# File 'lib/syntax_tree/cli.rb', line 112
def success
end
|