class Gazr::Script::EvalContext
Public Class Methods
new(script)
click to toggle source
# File lib/gazr/script.rb, line 13 def initialize(script) @__script = script end
Public Instance Methods
default_action(&action)
click to toggle source
# File lib/gazr/script.rb, line 17 def default_action(&action) @__script.default_action(&action) end
reload()
click to toggle source
# File lib/gazr/script.rb, line 25 def reload @__script.parse! end
watch(*args, &block)
click to toggle source
# File lib/gazr/script.rb, line 21 def watch(*args, &block) @__script.watch(*args, &block) end