Module: Mimas::Terminal::Printer
- Included in:
- CLI::Commands::BaseCommand, Deployment, Server
- Defined in:
- lib/mimas/terminal/printer.rb
Instance Method Summary collapse
Instance Method Details
#ask(question) ⇒ Object
8 9 10 11 |
# File 'lib/mimas/terminal/printer.rb', line 8 def ask(question) $stdout.print "#{question}: " $stdin.gets.chomp end |
#say(sentence) ⇒ Object
4 5 6 |
# File 'lib/mimas/terminal/printer.rb', line 4 def say(sentence) $stdout.puts sentence end |