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