In Files

Parent

Gon::Watch

Constants

JS_FUNCTION

Public Class Methods

all_variables() click to toggle source
# File lib/gon/watch.rb, line 15
def all_variables
  @watch_variables || {}
end
clear() click to toggle source
# File lib/gon/watch.rb, line 19
def clear
  @watch_variables = {}
end
render() click to toggle source
# File lib/gon/watch.rb, line 7
def render
  JS_FUNCTION + "window.gon.watchedVariables=#{Gon::JsonDumper.dump all_variables};"
end
render_amd() click to toggle source
# File lib/gon/watch.rb, line 11
def render_amd
  JS_FUNCTION + "gon.watchedVariables=#{Gon::JsonDumper.dump all_variables};"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.