Class: One44::Welcome

Inherits:
Object
  • Object
show all
Defined in:
lib/one44-core/welcome.rb

Instance Method Summary collapse

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 message(text)
  @output.puts text
end