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.1.0 samples/cgi/hellolib.rb
gettext-3.0.9 samples/cgi/hellolib.rb
gettext-3.0.8 samples/cgi/hellolib.rb
gettext-3.0.7 samples/cgi/hellolib.rb
gettext-3.0.6 samples/cgi/hellolib.rb
gettext-3.0.5 samples/cgi/hellolib.rb
gettext-3.0.4 samples/cgi/hellolib.rb
gettext-3.0.3 samples/cgi/hellolib.rb
gettext-3.0.2 samples/cgi/hellolib.rb
gettext-3.0.1 samples/cgi/hellolib.rb
gettext-3.0.0 samples/cgi/hellolib.rb
gettext-2.3.9 samples/cgi/hellolib.rb
gettext-2.3.8 samples/cgi/hellolib.rb
gettext-2.3.7 samples/cgi/hellolib.rb
gettext-2.3.6 samples/cgi/hellolib.rb
gettext-2.3.5 samples/cgi/hellolib.rb
gettext-2.3.4 samples/cgi/hellolib.rb
gettext-2.3.3 samples/cgi/hellolib.rb
gettext-2.3.2 samples/cgi/hellolib.rb
gettext-2.3.1 samples/cgi/hellolib.rb