Sha256: 8dc7641e242dbf4bc991a5c37c3d8d6a186fe5dc24daf45bcfe811ac95ad2e8b

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

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

require 'gettext'

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gettext-2.2.1 samples/cgi/hellolib.rb
gettext-2.2.0 samples/cgi/hellolib.rb
ofm_gettext-2.0.1 samples/cgi/hellolib.rb
ofm_gettext-2.0.0 samples/cgi/hellolib.rb