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



164
165
166
# File 'lib/sportdb/parser.rb', line 164

def date
  @date
end

Instance Method Details

#pretty_print(printer) ⇒ Object



165
166
167
168
# File 'lib/sportdb/parser.rb', line 165

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