Sha256: 2e0e90574f525c31af7823f2af80613e6df8d3f7cbbce99c7eea951f663bcffe

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

# Copyright (C) 2017  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 Method_
    class BlockParameter
      include GetText

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

      def message
        message_generator = lambda do |_|
          "this is not a translate target message"
        end
        message_generator.call(nil)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gettext-3.3.0 test/fixtures/_/block_parameter.rb
gettext-3.2.9 test/fixtures/_/block_parameter.rb
gettext-3.2.8 test/fixtures/_/block_parameter.rb
gettext-3.2.7 test/fixtures/_/block_parameter.rb
gettext-3.2.6 test/fixtures/_/block_parameter.rb
gettext-3.2.5 test/fixtures/_/block_parameter.rb
gettext-3.2.4 test/fixtures/_/block_parameter.rb