Class: Ivar::NonePolicy
Overview
Policy that does nothing (no-op) for unknown instance variables
Instance Method Summary collapse
-
#handle_unknown_ivars(_unknown_refs, _klass, _allowed_ivars) ⇒ Object
Handle unknown instance variables by doing nothing.
Methods inherited from Policy
#find_closest_match, #format_warning
Instance Method Details
#handle_unknown_ivars(_unknown_refs, _klass, _allowed_ivars) ⇒ Object
Handle unknown instance variables by doing nothing
124 125 126 |
# File 'lib/ivar/policies.rb', line 124 def handle_unknown_ivars(_unknown_refs, _klass, _allowed_ivars) # No-op - do nothing end |