Class: Rgviz::Select

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

Instance Attribute Summary

Attributes inherited from ColumnsContainer

#columns

Instance Method Summary collapse

Methods inherited from ColumnsContainer

#initialize, #to_s

Constructor Details

This class inherits a constructor from Rgviz::ColumnsContainer

Instance Method Details

#accept(visitor) ⇒ Object



66
67
68
69
70
71
# File 'lib/rgviz/nodes.rb', line 66

def accept(visitor)
  if visitor.visit_select(self)
    columns.each{|x| x.accept visitor}
  end
  visitor.end_visit_select self
end