Method: Bini#clear
- Defined in:
- lib/bini/core.rb
#clear ⇒ Object
Reset the defaults back to nothing.
43 44 45 46 47 |
# File 'lib/bini/core.rb', line 43 def clear @defaults.each do |key,value| instance_variable_set "@#{key}", nil end end |