Class RPStringScanner
In: lib/ruby_parser_extras.rb
Parent: StringScanner

Methods

External Aliases

getch -> old_getch
scan -> old_scan

Public Instance methods

if ENV[‘TALLY’] then

  alias :old_getch :getch
  def getch
    warn({:getch => caller[0]}.inspect)
    old_getch
  end

end

TODO: once we get rid of these, we can make things like TODO: current_line and lineno much more accurate and easy to do

[Validate]