Class: Sigstore::CLI::ShellWrapper
- Inherits:
-
Object
- Object
- Sigstore::CLI::ShellWrapper
- Defined in:
- lib/sigstore/cli.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(shell) ⇒ ShellWrapper
constructor
A new instance of ShellWrapper.
- #write ⇒ Object
Constructor Details
#initialize(shell) ⇒ ShellWrapper
Returns a new instance of ShellWrapper.
24 25 26 |
# File 'lib/sigstore/cli.rb', line 24 def initialize(shell) @shell = shell end |
Instance Method Details
#close ⇒ Object
28 29 30 |
# File 'lib/sigstore/cli.rb', line 28 def close @shell.close end |
#write ⇒ Object
32 33 34 |
# File 'lib/sigstore/cli.rb', line 32 def write(...) @shell.say(...) end |