Module: Shape::DataVisitor

Included in:
Renderers
Defined in:
lib/shape/data_visitor.rb

Instance Method Summary collapse

Instance Method Details

#visit(visitor = lambda {|x| x}) ⇒ Object



4
5
6
# File 'lib/shape/data_visitor.rb', line 4

def visit(visitor = lambda {|x| x})
  data_visitor(properties_to_visit, visitor)
end