Class: Bowline::Window
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(obj = self.class.window) ⇒ Window
constructor
A new instance of Window.
- #method_missing(*args) ⇒ Object
Constructor Details
#initialize(obj = self.class.window) ⇒ Window
Returns a new instance of Window.
7 8 9 |
# File 'lib/bowline/window.rb', line 7 def initialize(obj = self.class.window) @object = obj end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Class Method Details
.window ⇒ Object
3 4 5 |
# File 'lib/bowline/window.rb', line 3 def self.window defined?(Titanium) && Titanium.UI.mainWindow.window end |