Class: HotCocoaController
Direct Known Subclasses
Class Attribute Summary collapse
-
.view_instances ⇒ Object
readonly
Returns the value of attribute view_instances.
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
Instance Method Summary collapse
- #application_window ⇒ Object
-
#initialize(application) ⇒ HotCocoaController
constructor
A new instance of HotCocoaController.
Constructor Details
#initialize(application) ⇒ HotCocoaController
Returns a new instance of HotCocoaController.
86 87 88 |
# File 'lib/hotcocoa/mvc.rb', line 86 def initialize application @application = application end |
Class Attribute Details
.view_instances ⇒ Object (readonly)
Returns the value of attribute view_instances.
80 81 82 |
# File 'lib/hotcocoa/mvc.rb', line 80 def view_instances @view_instances end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
84 85 86 |
# File 'lib/hotcocoa/mvc.rb', line 84 def application @application end |
Instance Method Details
#application_window ⇒ Object
90 91 92 |
# File 'lib/hotcocoa/mvc.rb', line 90 def application_window @application.application_controller.application_window end |