class DisplayDoc

Public Instance Methods

watch_(selected) click to toggle source
# File lib/bull/ui_core.rb, line 76
def watch_ selected
  @rvs = reactive(selected) do
    value = selected.value
    clear
    $controller.stop_watch(@predicate_id) if @predicate_id != nil
    @predicate_id = $controller.watch(@@table, value) do |data|
      clear
      data['new_val'].each {|k, v| state.__send__(k+'!', v)} if !(data.nil? || data['new_val'].nil?)
    end
  end
end