Class: Browser::Window::View
Instance Method Summary collapse
- #height ⇒ Object
-
#initialize(window) ⇒ View
constructor
A new instance of View.
- #width ⇒ Object
Constructor Details
#initialize(window) ⇒ View
Returns a new instance of View.
4 5 6 7 |
# File 'opal/browser/window/view.rb', line 4 def initialize(window) @window = window @native = window.to_n end |