Sha256: 608e09fc124f9d11a911eb1e127cbb02bfa3563171e8a1bb3fd84ba4f272a2ae

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

module Sema
  class Habari
  	def initialize(tuma_salamu)
  		@tuma_salamu = "Habari Dunia"
  	end

    def salamu
      puts "#{@tuma_salamu}"
    end
  end

  class Salimia
  	def initialize(julia_hali)
  		@julia_hali = "Mnaendelea Aje?"
  	end
  	
  	def uliza_hali
  		puts "#{@julia_hali}"
  	end
  end
end

puts "This is 'Hello World' in Swahili meaning; Hello world, How are you doing?"
salamu_kwa_dunia = Sema::Habari.new("")
salamu_kwa_dunia.salamu

julia_dunia_hali = Sema::Salimia.new("")
julia_dunia_hali.uliza_hali

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sema-0.1.2 lib/sema/habari.rb