class String

Attributes

lineno[RW]

This is a hack used by the lexer to sneak in line numbers at the identifier level. This should be MUCH smaller than making process_token return [value, lineno] and modifying EVERYTHING that reduces tIDENTIFIER.

Public Instance Methods

grep(re) click to toggle source
# File lib/rp_extensions.rb, line 27
def grep re
  lines.grep re
end