Class: Sfp::Visitor::NullModifier
- Inherits:
-
Object
- Object
- Sfp::Visitor::NullModifier
- Defined in:
- lib/sfp/visitors.rb
Instance Method Summary collapse
Instance Method Details
#visit(name, value, parent) ⇒ Object
125 126 127 128 129 130 131 132 133 |
# File 'lib/sfp/visitors.rb', line 125 def visit(name, value, parent) return false if value.is_a?(Hash) and value.isprocedure if value.is_a?(Hash) and value.isnull parent[name] = nil return false end true end |