diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
commit | 37bff4c0154b57b35a3194a9b31a9422496b955b (patch) | |
tree | 61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb | |
parent | 8b49dc894066e452232cabd09333895487f86986 (diff) | |
parent | 8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff) |
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb')
-rw-r--r-- | vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb b/vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb deleted file mode 100644 index 78868fc10..000000000 --- a/vendor/gems/gettext-2.1.0/lib/gettext/cgi.rb +++ /dev/null @@ -1,37 +0,0 @@ -=begin - gettext/cgi.rb - GetText for CGI - - Copyright (C) 2005-2009 Masao Mutoh - - You may redistribute it and/or modify it under the same - license terms as Ruby or LGPL. -=end - -require 'cgi' -require 'gettext' - -Locale.init(:driver => :cgi) - -module GetText - - # Sets a CGI object. This methods is appeared when requiring "gettext/cgi". - # * cgi_: CGI object - # * Returns: self - def set_cgi(cgi_) - Locale.set_cgi(cgi_) - end - - # Same as GetText.set_cgi. This methods is appeared when requiring "gettext/cgi". - # * cgi_: CGI object - # * Returns: cgi_ - def cgi=(cgi_) - set_cgi(cgi_) - cgi_ - end - - # Gets the CGI object. If it is nil, returns new CGI object. This methods is appeared when requiring "gettext/cgi". - # * Returns: the CGI object - def cgi - Locale.cgi - end -end |