Class: RaccMatchParser::DateHeader
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::DateHeader
- Defined in:
- lib/sportdb/parser.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
Instance Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
221 222 223 |
# File 'lib/sportdb/parser.rb', line 221 def date @date end |
Instance Method Details
#pretty_print(printer) ⇒ Object
222 223 224 225 |
# File 'lib/sportdb/parser.rb', line 222 def pretty_print( printer ) printer.text( "<DateHeader " ) printer.text( "#{self.date.pretty_inspect}>" ) end |