Method: MongodbGraphite::Instance#reload
- Defined in:
- lib/mongodb-graphite/instance.rb
#reload(options) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/mongodb-graphite/instance.rb', line 26 def reload() OPTIONS.each do |opt| val = instance_variable_get "@#{opt}" if [opt] != val and not [opt].nil? instance_variable_set "@#{opt}", .delete(opt) end end end |