Class: Proc

Inherits:
Object show all
Defined in:
lib/volt/reactive/computation.rb

Instance Method Summary collapse

Instance Method Details

#watch!Object



124
125
126
127
128
129
# File 'lib/volt/reactive/computation.rb', line 124

def watch!
  Volt::Computation.new(self).run_in do
    # run self
    self.call
  end
end