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
clean_caller()
click to toggle source
# File lib/rp_extensions.rb, line 35 def clean_caller self.sub(File.dirname(__FILE__), "./lib").sub(/:in.*/, "") end
grep(re)
click to toggle source
# File lib/rp_extensions.rb, line 20 def grep re lines.grep re end