Sha256: 2d347769722798de1fe26e379911077719a62b1441eebaa274b3e70d13a6aa0c

Contents?: true

Size: 300 Bytes

Versions: 301

Compression:

Stored size: 300 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

301 entries across 287 versions & 16 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.4 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.3 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.5 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.2 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.1 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.0 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.0.beta2 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-6.0.0.beta lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.4 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.3 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.2 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.1 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.3.0 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.2.0 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.2.0.beta2 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.2.0.beta lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.1.1 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.1.0.beta3 lib/skylight/vendor/cli/highline/compatibility.rb
skylight-5.1.0.beta2 lib/skylight/vendor/cli/highline/compatibility.rb