Sha256: 34f8bcbfebcfbd3228251aedb822cf7ee83a71efae98b486fc411a6422a11913

Contents?: true

Size: 365 Bytes

Versions: 9

Compression:

Stored size: 365 Bytes

Contents

#!/usr/bin/ruby
# hellolib.rb
#
# Copyright (C) 2005  Masao Mutoh
#
# This file is distributed under the same 
# license as Ruby-GetText-Package.
#
# $Id: hellolib.rb,v 1.1.1.1 2005/08/13 02:38:08 mutoh Exp $
#

require 'gettext'

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

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
experteer-gettext-2.0.4.1 samples/cgi/hellolib.rb
experteer-gettext-2.0.4.2 samples/cgi/hellolib.rb
experteer-gettext-2.0.4 samples/cgi/hellolib.rb
grosser-gettext-2.0.0 samples/cgi/hellolib.rb
gettext-2.0.2 samples/cgi/hellolib.rb
gettext-2.0.1 samples/cgi/hellolib.rb
gettext-2.0.0 samples/cgi/hellolib.rb
gettext-2.0.3 samples/cgi/hellolib.rb
gettext-2.0.4 samples/cgi/hellolib.rb