Class: James::Outputs::Terminal

Inherits:
Object
  • Object
show all
Defined in:
lib/james/outputs/terminal.rb

Overview

Terminal output for silent purposes.

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Terminal

Returns a new instance of Terminal.



11
12
13
# File 'lib/james/outputs/terminal.rb', line 11

def initialize options = {}

end

Instance Method Details

#say(text) ⇒ Object

Say the given text in the terminal.



17
18
19
20
21
# File 'lib/james/outputs/terminal.rb', line 17

def say text
  puts
  p text
  puts
end