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
132 133 134 135 136 137 138 139 140 |
# File 'lib/sfp/visitors.rb', line 132 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 |