class ParserCombinator::Item
Attributes
item[R]
tag[R]
Public Class Methods
new(item, tag)
click to toggle source
# File lib/parser_combinator.rb, line 30 def initialize(item, tag) @item, @tag = item, tag end
Public Instance Methods
inspect()
click to toggle source
# File lib/parser_combinator.rb, line 38 def inspect "Item {item = #{item}, tag = #{tag}}" end
to_s()
click to toggle source
# File lib/parser_combinator.rb, line 34 def to_s item.to_s end