Class: Sema::Habari
- Inherits:
-
Object
- Object
- Sema::Habari
- Defined in:
- lib/sema/habari.rb
Instance Method Summary collapse
-
#initialize(tuma_salamu) ⇒ Habari
constructor
A new instance of Habari.
- #salamu ⇒ Object
Constructor Details
#initialize(tuma_salamu) ⇒ Habari
Returns a new instance of Habari.
3 4 5 |
# File 'lib/sema/habari.rb', line 3 def initialize(tuma_salamu) @tuma_salamu = "Habari Dunia" end |
Instance Method Details
#salamu ⇒ Object
7 8 9 |
# File 'lib/sema/habari.rb', line 7 def salamu puts "#{@tuma_salamu}" end |