Sha256: 65e4a4f874e3c22f68348e7efb43c6cc48270fddef38a16414601be93f901a5b
Contents?: true
Size: 404 Bytes
Versions: 14
Compression:
Stored size: 404 Bytes
Contents
#!/usr/bin/ruby # hello_textdomain.rb - sample for GetText.textdomain. # # Copyright (C) 2005, 2006 Masao Mutoh # This file is distributed under the same license as Ruby-GetText-Package. # hello.rb calles hello textdomain first. require 'hello' module HelloTextDomain include GetText textdomain("hello") module_function def hello puts _("Hello World\n") end end HelloTextDomain.hello
Version data entries
14 entries across 14 versions & 1 rubygems