Sha256: c13346428903e3f248dfd870ad2bb9bdf084762da69420dd23987a634715eae1

Contents?: true

Size: 998 Bytes

Versions: 41

Compression:

Stored size: 998 Bytes

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2012  Kouhei Sutou <kou@clear-code.com>
#
# License: Ruby's or LGPL
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

module Fixtures
  module Methods_
    class Custom
      include GetText

      bindtextdomain("s_", :path => GetTextTestUtils.locale_path)

      def message
        s_("context|context$message", "$")
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
gettext-2.3.0 test/fixtures/s_/custom.rb