Current Path : /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/gettext-3.2.2/samples/cgi/ |
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/gettext-3.2.2/samples/cgi/hellolib.rb |
#!/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