Sha256: 98605172fb3bf85308bb9b80d5bdfc89e08b71696feb71c7edcf8e59feb6804e

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

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

            def self.included(base)
              base.include IO::Instance::Readlines::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/readlines.rb