Class: James::Outputs::Terminal
- Inherits:
-
Object
- Object
- James::Outputs::Terminal
- Defined in:
- lib/james/outputs/terminal.rb
Overview
Terminal output for silent purposes.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Terminal
constructor
A new instance of Terminal.
-
#say(text) ⇒ Object
Say the given text in the terminal.
Constructor Details
#initialize(options = {}) ⇒ Terminal
Returns a new instance of Terminal.
11 12 13 |
# File 'lib/james/outputs/terminal.rb', line 11 def initialize = {} 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 |