class Sfp::Visitor::Default

An example of class Visitor which can be used to traverse from one node to another node (bread first). This is based on ‘Visitor’ pattern.

Public Instance Methods

visit(name, value, parent) click to toggle source
# File lib/sfp/visitors.rb, line 6
def visit(name, value, parent); end