Module: Synapse::Config::Updateable
Instance Method Summary collapse
Instance Method Details
#after_write ⇒ Object
4 5 6 |
# File 'lib/synapse/config/updateable.rb', line 4 def after_write update end |
#inform(target) ⇒ Object
7 8 9 |
# File 'lib/synapse/config/updateable.rb', line 7 def inform target @target=target end |
#update ⇒ Object
10 11 12 |
# File 'lib/synapse/config/updateable.rb', line 10 def update @target.reconfigure! if @target end |