Sha256: 7e2d24190d0beda1418e38b93c8d1ae8a25baaf20d6cc19c57bf5d8615cb6b7a

Contents?: true

Size: 364 Bytes

Versions: 28

Compression:

Stored size: 364 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'

include GetText

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
gettext-1.10.0-mswin32 samples/cgi/hellolib.rb
gettext-1.9.0-mswin32 samples/cgi/hellolib.rb
gettext-1.8.0-mswin32 samples/cgi/hellolib.rb
gettext-1.7.0-mswin32 samples/cgi/hellolib.rb
gettext-1.6.0-mswin32 samples/cgi/hellolib.rb
gettext-1.5.0-mswin32 samples/cgi/hellolib.rb
gettext-1.4.0-mswin32 samples/cgi/hellolib.rb
gettext-1.3.0-mswin32 samples/cgi/hellolib.rb
gettext-1.2.0-mswin32 samples/cgi/hellolib.rb
gettext-1.1.1-mswin32 samples/cgi/hellolib.rb
gettext-1.1.0-mswin32 samples/cgi/hellolib.rb
gettext-1.0.0-mswin32 samples/cgi/hellolib.rb
gettext-1.0.0 samples/cgi/hellolib.rb
gettext-1.10.0 samples/cgi/hellolib.rb
gettext-1.1.0 samples/cgi/hellolib.rb
gettext-1.2.0 samples/cgi/hellolib.rb
gettext-1.1.1 samples/cgi/hellolib.rb
gettext-1.5.0 samples/cgi/hellolib.rb
gettext-1.3.0 samples/cgi/hellolib.rb
gettext-1.4.0 samples/cgi/hellolib.rb