Sha256: 788080f0f55c3cf1fa40cba95b882fd51c1caeeb9b5a7b40ba3f100d12c0b09e
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
module Redcar module HtmlController include Redcar::Observable # 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
5 entries across 5 versions & 1 rubygems