Class: RaccMatchParser::DateHeaderLegs
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::DateHeaderLegs
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#date1 ⇒ Object
Returns the value of attribute date1.
-
#date2 ⇒ Object
Returns the value of attribute date2.
Instance Method Summary collapse
Instance Attribute Details
#date1 ⇒ Object
Returns the value of attribute date1
179 180 181 |
# File 'lib/sportdb/parser/racc_tree.rb', line 179 def date1 @date1 end |
#date2 ⇒ Object
Returns the value of attribute date2
179 180 181 |
# File 'lib/sportdb/parser/racc_tree.rb', line 179 def date2 @date2 end |
Instance Method Details
#pretty_print(printer) ⇒ Object
180 181 182 183 184 185 |
# File 'lib/sportdb/parser/racc_tree.rb', line 180 def pretty_print( printer ) printer.text( "<DateHeaderLegs " ) printer.text( "leg1=#{self.date1.pretty_inspect}" ) printer.text( " leg2=#{self.date2.pretty_inspect}" ) printer.text( ">") end |