Class: One44::Welcome
- Inherits:
-
Object
- Object
- One44::Welcome
- Defined in:
- lib/one44-core/welcome.rb
Instance Method Summary collapse
-
#initialize(output) ⇒ Welcome
constructor
A new instance of Welcome.
- #message(text) ⇒ Object
Constructor Details
#initialize(output) ⇒ Welcome
Returns a new instance of Welcome.
5 6 7 |
# File 'lib/one44-core/welcome.rb', line 5 def initialize(output) @output = output end |
Instance Method Details
#message(text) ⇒ Object
9 10 11 |
# File 'lib/one44-core/welcome.rb', line 9 def (text) @output.puts text end |