Object
# File racc/sourcetext.rb, line 15 def initialize(text, filename, lineno) @text = text @filename = filename @lineno = lineno end
# File racc/sourcetext.rb, line 29 def location "#{@filename}:#{@lineno}" end
# File racc/sourcetext.rb, line 25 def to_s "#<SourceText #{location()}>" end
This page was generated for Ruby 2.7.6
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.