Sha256: e76a3efb0d02797019878fd8e5d8b11cfc836890fad762a10bbee8d8912a2df6

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

module Polyfill
  module V2_4
    module StringIO
      module Instance
        module Gets
          if RUBY_VERSION < '2.4.0'
            refine ::StringIO do
              include IO::Instance::Gets::Method
            end

            def self.included(base)
              base.include IO::Instance::Gets::Method
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polyfill-0.3.0 lib/polyfill/v2_4/string_io/instance/gets.rb