class KPeg::Bounds
Attributes
op[R]
Public Class Methods
new(op)
click to toggle source
Calls superclass method
KPeg::Operator::new
# File lib/kpeg/grammar.rb, line 604 def initialize(op) super() @op = op end
Public Instance Methods
==(obj)
click to toggle source
Calls superclass method
# File lib/kpeg/grammar.rb, line 611 def ==(obj) case obj when Bounds @op == obj.op else super end end
inspect()
click to toggle source
# File lib/kpeg/grammar.rb, line 620 def inspect inspect_type "bounds", @op.inspect end