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.3.0 samples/cgi/hellolib.rb
gettext-3.2.9 samples/cgi/hellolib.rb
gettext-3.2.8 samples/cgi/hellolib.rb
gettext-3.2.7 samples/cgi/hellolib.rb
gettext-3.2.6 samples/cgi/hellolib.rb
gettext-3.2.5 samples/cgi/hellolib.rb
gettext-3.2.4 samples/cgi/hellolib.rb
gettext-3.2.3 samples/cgi/hellolib.rb
gettext-3.2.2 samples/cgi/hellolib.rb
gettext-3.2.1 samples/cgi/hellolib.rb
gettext-3.2.0 samples/cgi/hellolib.rb
gettext-3.1.9 samples/cgi/hellolib.rb
gettext-3.1.8 samples/cgi/hellolib.rb
gettext-3.1.7 samples/cgi/hellolib.rb
gettext-3.1.6 samples/cgi/hellolib.rb
gettext-3.1.5 samples/cgi/hellolib.rb
gettext-3.1.4 samples/cgi/hellolib.rb
gettext-3.1.3 samples/cgi/hellolib.rb
gettext-3.1.2 samples/cgi/hellolib.rb
gettext-3.1.1 samples/cgi/hellolib.rb