Class: Pennyworth::CLI::Shell
- Inherits:
-
Object
- Object
- Pennyworth::CLI::Shell
- Defined in:
- lib/pennyworth/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/pennyworth/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/pennyworth/cli/shell.rb', line 17 def call(...) = cli.call(...) |