Class: Rgviz::DateColumn

Inherits:
ValueColumn show all
Defined in:
lib/rgviz/nodes.rb

Instance Attribute Summary

Attributes inherited from ValueColumn

#value

Instance Method Summary collapse

Methods inherited from ValueColumn

#eql?, #hash, #initialize

Constructor Details

This class inherits a constructor from Rgviz::ValueColumn

Instance Method Details

#accept(visitor) ⇒ Object



377
378
379
380
# File 'lib/rgviz/nodes.rb', line 377

def accept(visitor)
  visitor.visit_date_column(self)
  visitor.end_visit_date_column self
end

#to_sObject



382
383
384
# File 'lib/rgviz/nodes.rb', line 382

def to_s
  "date '#{value.to_s}'"
end