Sha256: c23369e7be27eeb1d1c32557ac80cf91673c1833aab93a2b0ed15afe07195927

Contents?: true

Size: 977 Bytes

Versions: 15

Compression:

Stored size: 977 Bytes

Contents

# Copyright (C) 2020  Sutou Kouhei <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 Pipe
      include GetText

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

      def binary_pipe
        _("Hello")
        1 | 2
        _("World")
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gettext-3.4.9 test/fixtures/_/pipe.rb
gettext-3.4.8 test/fixtures/_/pipe.rb
gettext-3.4.7 test/fixtures/_/pipe.rb
gettext-3.4.6 test/fixtures/_/pipe.rb
gettext-3.4.5 test/fixtures/_/pipe.rb
gettext-3.4.4 test/fixtures/_/pipe.rb
gettext-3.4.3 test/fixtures/_/pipe.rb
gettext-3.4.2 test/fixtures/_/pipe.rb
gettext-3.4.1 test/fixtures/_/pipe.rb
gettext-3.4.0 test/fixtures/_/pipe.rb
gettext-3.3.9 test/fixtures/_/pipe.rb
gettext-3.3.8 test/fixtures/_/pipe.rb
gettext-3.3.7 test/fixtures/_/pipe.rb
gettext-3.3.6 test/fixtures/_/pipe.rb
gettext-3.3.5 test/fixtures/_/pipe.rb