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



215
216
217
# File 'lib/sportdb/parser.rb', line 215

def date
  @date
end

Instance Method Details

#pretty_print(printer) ⇒ Object



216
217
218
219
# File 'lib/sportdb/parser.rb', line 216

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