/usr/lib/ruby/vendor_ruby/highline/compatibility.rb is in ruby-highline 1.6.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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
|