Sha256: d15f9c4bf3b5c55eb302a7acc6c60da2ad3a4109348dcae6c700f55b69db35dd

Contents?: true

Size: 638 Bytes

Versions: 6

Compression:

Stored size: 638 Bytes

Contents

=begin
  gettext/erb.rb - Class-based container module for GetText 

  Copyright (C) 2005  Masao Mutoh

  You may redistribute it and/or modify it under the same
  license terms as Ruby.

  $Id: container.rb,v 1.3 2005/08/22 17:24:33 mutoh Exp $
=end

require 'gettext'

module GetText
  module Container
    include GetText

    alias :_bindtextdomain :bindtextdomain

    def bindtextdomain(domainname, path = nil, locale = nil, charset = nil)    
      @gettext_container_domainname = domainname
      _bindtextdomain(domainname, path, locale, charset)
    end

    def callersrc
      @gettext_container_domainname
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gettext-1.1.1-mswin32 lib/gettext/container.rb
gettext-1.1.0-mswin32 lib/gettext/container.rb
gettext-1.0.0-mswin32 lib/gettext/container.rb
gettext-1.0.0 lib/gettext/container.rb
gettext-1.1.0 lib/gettext/container.rb
gettext-1.1.1 lib/gettext/container.rb