Sha256: be58e4b2e25bc0409f6a5fd068100ceca5841a5c24f452af34b64fcae1c9752a

Contents?: true

Size: 293 Bytes

Versions: 61

Compression:

Stored size: 293 Bytes

Contents

#!/usr/bin/ruby
# hellolib.rb
#
# Copyright (C) 2005-2009  Masao Mutoh
#
# This file is distributed under the same
# license as gettext.
#

require 'gettext'

class HelloLib
  include GetText
  bindtextdomain("hellolib", "locale")
  def hello
    _("This message is from hellolib.")
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
gettext-3.5.0 samples/cgi/hellolib.rb
gettext-3.4.9 samples/cgi/hellolib.rb
gettext-3.4.8 samples/cgi/hellolib.rb
gettext-3.4.7 samples/cgi/hellolib.rb
gettext-3.4.6 samples/cgi/hellolib.rb
gettext-3.4.5 samples/cgi/hellolib.rb
gettext-3.4.4 samples/cgi/hellolib.rb
gettext-3.4.3 samples/cgi/hellolib.rb
gettext-3.4.2 samples/cgi/hellolib.rb
gettext-3.4.1 samples/cgi/hellolib.rb
gettext-3.4.0 samples/cgi/hellolib.rb
gettext-3.3.9 samples/cgi/hellolib.rb
gettext-3.3.8 samples/cgi/hellolib.rb
gettext-3.3.7 samples/cgi/hellolib.rb
gettext-3.3.6 samples/cgi/hellolib.rb
gettext-3.3.5 samples/cgi/hellolib.rb
gettext-3.3.4 samples/cgi/hellolib.rb
gettext-3.3.3 samples/cgi/hellolib.rb
gettext-3.3.2 samples/cgi/hellolib.rb
gettext-3.3.1 samples/cgi/hellolib.rb