Class: Rgviz::DateTimeColumn
Instance Attribute Summary
Attributes inherited from ValueColumn
#value
Instance Method Summary
collapse
Methods inherited from ValueColumn
#eql?, #hash, #initialize
Instance Method Details
#accept(visitor) ⇒ Object
388
389
390
391
|
# File 'lib/rgviz/nodes.rb', line 388
def accept(visitor)
visitor.visit_date_time_column(self)
visitor.end_visit_date_time_column self
end
|
#to_s ⇒ Object
393
394
395
|
# File 'lib/rgviz/nodes.rb', line 393
def to_s
"datetime '" + value.strftime("%Y-%m-%d %H:%M:%S") + "'"
end
|