Class: Sigstore::CLI::ShellWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/sigstore/cli.rb

Instance Method Summary collapse

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

#closeObject



28
29
30
# File 'lib/sigstore/cli.rb', line 28

def close
  @shell.close
end

#writeObject



32
33
34
# File 'lib/sigstore/cli.rb', line 32

def write(...)
  @shell.say(...)
end