Class: Rgviz::StringColumn

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



359
360
361
362
# File 'lib/rgviz/nodes.rb', line 359

def accept(visitor)
  visitor.visit_string_column(self)
  visitor.end_visit_string_column self
end

#to_sObject



364
365
366
# File 'lib/rgviz/nodes.rb', line 364

def to_s
  "'#{value}'"
end