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.
Direct Known Subclasses
AST, CTags, Check, Debug, Doc, Expr, Format, Json, Match, Search, Write
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(options) ⇒ Action
106
107
108
|
# File 'lib/syntax_tree/cli.rb', line 106
def initialize(options)
@options = options
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
104
105
106
|
# File 'lib/syntax_tree/cli.rb', line 104
def options
@options
end
|
Instance Method Details
#failure ⇒ Object
116
117
|
# File 'lib/syntax_tree/cli.rb', line 116
def failure
end
|
#run(item) ⇒ Object
110
111
|
# File 'lib/syntax_tree/cli.rb', line 110
def run(item)
end
|
#success ⇒ Object
113
114
|
# File 'lib/syntax_tree/cli.rb', line 113
def success
end
|