class Glimmer::SWT::LatestShellProxy
Public Class Methods
new(parent, args, block)
click to toggle source
# File lib/glimmer/swt/latest_shell_proxy.rb, line 27 def initialize(parent, args, block) # No Op end
Public Instance Methods
latest_shell()
click to toggle source
# File lib/glimmer/swt/latest_shell_proxy.rb, line 51 def latest_shell @latest_shell ||= DisplayProxy.instance.shells.last end
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/glimmer/swt/latest_shell_proxy.rb, line 31 def method_missing(method, *args, &block) if latest_shell.nil? super(method, *args, &block) else latest_shell.send(method, *args, &block) end end
open()
click to toggle source
# File lib/glimmer/swt/latest_shell_proxy.rb, line 43 def open Document.ready? do DisplayProxy.instance.async_exec { latest_shell&.open } end end
respond_to?(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/glimmer/swt/latest_shell_proxy.rb, line 39 def respond_to?(method, *args, &block) super || latest_shell&.respond_to?(method, *args, &block) end