class Position
Attributes
start[R]
stop[R]
Public Class Methods
new(start, stop)
click to toggle source
# File lib/ast.rb, line 17 def initialize start, stop raise "Filename should be the same." if start.file_name != stop.file_name @start = start @stop = stop end
Public Instance Methods
to_s()
click to toggle source
# File lib/ast.rb, line 23 def to_s @start.to_s end