Class: Cotta::SystemIo

Inherits:
Object
  • Object
show all
Defined in:
lib/cotta/impl/command_interface.rb

Instance Method Summary collapse

Instance Method Details

#getsObject



42
43
44
# File 'lib/cotta/impl/command_interface.rb', line 42

def gets
  $stdin.gets
end

#puts(content) ⇒ Object



38
39
40
# File 'lib/cotta/impl/command_interface.rb', line 38

def puts(content)
  $stdout.puts(content)
end