Sha256: 50421104e270b2bb895e27d9f2695420d4ea1c4d6b2244768b5ee0a0a801cf02

Contents?: true

Size: 609 Bytes

Versions: 83

Compression:

Stored size: 609 Bytes

Contents

# coding: utf-8

unless STDIN.respond_to? :getbyte
  # HighLine adds #getbyte alias to #getc when #getbyte is not available.
  class IO
    # alias to #getc when #getbyte is not available
    alias getbyte getc
  end

  # HighLine adds #getbyte alias to #getc when #getbyte is not available.
  class StringIO
    # alias to #getc when #getbyte is not available
    alias getbyte getc
  end
end

unless "".respond_to? :each_line
  # HighLine adds #each_line alias to #each when each_line is not available.
  class String
    # alias to #each when each_line is not available.
    alias each_line each
  end
end

Version data entries

83 entries across 68 versions & 5 rubygems

Version Path
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
brakeman-4.6.1 bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
brakeman-4.6.0 bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/brakeman-4.5.1/bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
brakeman-4.5.1 bundle/ruby/2.5.0/gems/highline-2.0.2/lib/highline/compatibility.rb
highline-2.0.2 lib/highline/compatibility.rb
highline-2.0.1 lib/highline/compatibility.rb
highline-2.0.0 lib/highline/compatibility.rb
highline-2.0.0.pre.develop.16 lib/highline/compatibility.rb
highline-2.0.0.pre.develop.15 lib/highline/compatibility.rb
highline-2.0.0.pre.develop.14 lib/highline/compatibility.rb