Class: RaccMatchParser::DateHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



230
231
232
# File 'lib/sportdb/parser.rb', line 230

def date
  @date
end

Instance Method Details

#pretty_print(printer) ⇒ Object



231
232
233
234
# File 'lib/sportdb/parser.rb', line 231

def pretty_print( printer )
  printer.text( "<DateHeader " )
  printer.text( "#{self.date.pretty_inspect}>" )
end