Sha256: 12c7dd94f7168338a9b55464a2ae30d13ccc4f5f4574a5f25f6d5cb21c9008f7
Contents?: true
Size: 630 Bytes
Versions: 14
Compression:
Stored size: 630 Bytes
Contents
module Redcar module HtmlController include Redcar::Observable # Reload the index page def reload_index notify_listeners(:reload_index) end # Override this to return a message if the user should be prompted # before closing the tab. def ask_before_closing nil end # Override this to run code right before the tab is closed. def close nil end # Call execute with a string of javascript to execute the script # in the context of the browser widget. def execute(script) notify_listeners(:execute_script, script) end end end
Version data entries
14 entries across 14 versions & 1 rubygems