Class: Gon::Watch
Constant Summary
collapse
- JS_FUNCTION =
File.read(File.expand_path('../../../js/watch.js', __FILE__))
Constants inherited
from Gon
VERSION
Class Method Summary
collapse
Methods inherited from Gon
get_variable, global, inspect, jbuilder, merge_variable, method_missing, push, rabl, watch
Class Method Details
.all_variables ⇒ Object
15
16
17
|
# File 'lib/gon/watch.rb', line 15
def all_variables
@watch_variables || {}
end
|
.clear ⇒ Object
19
20
21
|
# File 'lib/gon/watch.rb', line 19
def clear
@watch_variables = {}
end
|