Class: Librarian::RSpec::Support::CliMacro::FakeShell

Inherits:
Thor::Shell::Basic
  • Object
show all
Defined in:
lib/librarian/rspec/support/cli_macro.rb

Instance Method Summary collapse

Instance Method Details

#stderrObject


18
19
20
# File 'lib/librarian/rspec/support/cli_macro.rb', line 18

def stderr
  @stderr ||= StringIO.new
end

#stdinObject


21
22
23
# File 'lib/librarian/rspec/support/cli_macro.rb', line 21

def stdin
  raise "unsupported"
end

#stdoutObject


15
16
17
# File 'lib/librarian/rspec/support/cli_macro.rb', line 15

def stdout
  @stdout ||= StringIO.new
end