Sha256: 50421104e270b2bb895e27d9f2695420d4ea1c4d6b2244768b5ee0a0a801cf02
Contents?: true
Size: 609 Bytes
Versions: 81
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
81 entries across 67 versions & 4 rubygems