Sha256: ffed533a8cf75e96a802c79c9d1de50aaef1e7a99a06cf9c17956043ed4ada7c

Contents?: true

Size: 305 Bytes

Versions: 80

Compression:

Stored size: 305 Bytes

Contents

unless STDIN.respond_to?(:getbyte)
  class IO
    alias_method :getbyte, :getc
  end

  class StringIO
    alias_method :getbyte, :getc
  end
end

unless "".respond_to?(:each_line)
  
  # Not a perfect translation, but sufficient for our needs.
  class String
    alias_method :each_line, :each
  end
end

Version data entries

80 entries across 79 versions & 11 rubygems

Version Path
radiantcms-couchrest_model-0.2.2 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.2.1 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.2 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.9 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.8 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.7 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.6 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.5 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.4 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.3 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.2 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1.1 vendor/highline/lib/highline/compatibility.rb
radiantcms-couchrest_model-0.1 vendor/highline/lib/highline/compatibility.rb
rtt-0.0.0.21 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.20 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.18 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.17 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.16 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.15 vendor/highline-1.5.2/lib/highline/compatibility.rb
rtt-0.0.0.14 vendor/highline-1.5.2/lib/highline/compatibility.rb