Class: Git::Lint::CLI::Shell
- Inherits:
-
Object
- Object
- Git::Lint::CLI::Shell
- Defined in:
- lib/git/lint/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.
12 13 14 15 16 |
# File 'lib/git/lint/cli/shell.rb', line 12 def initialize(context: Sod::Context, dsl: Sod, **) super(**) @context = context @dsl = dsl end |
Instance Method Details
#call ⇒ Object
18 |
# File 'lib/git/lint/cli/shell.rb', line 18 def call(...) = cli.call(...) |