Class: Tocer::CLI::Shell
- Inherits:
-
Object
- Object
- Tocer::CLI::Shell
- Defined in:
- lib/tocer/cli/shell.rb
Overview
The main Command Line Interface (CLI) object.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(context: Sod::Context, dsl: Sod) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(context: Sod::Context, dsl: Sod) ⇒ Shell
Returns a new instance of Shell.
11 12 13 14 15 |
# File 'lib/tocer/cli/shell.rb', line 11 def initialize(context: Sod::Context, dsl: Sod, **) super(**) @context = context @dsl = dsl end |
Instance Method Details
#call ⇒ Object
17 |
# File 'lib/tocer/cli/shell.rb', line 17 def call(...) = cli.call(...) |