class Sfp::Visitor::ConformantVariables
Attributes
var_values[R]
Public Class Methods
new()
click to toggle source
# File lib/sfp/visitors.rb, line 11 def initialize @var_values = {} end
Public Instance Methods
visit(name, value, parent)
click to toggle source
# File lib/sfp/visitors.rb, line 15 def visit(name, value, parent) if value.is_a?(Hash) and value.iseither ref = parent.ref.push(name) @var_values[ref] = value['_values'] end return true if value.is_a?(Hash) and value.isobject false end