Module: Glimmer::DataBinding::ObservableWidget
- Included in:
- SWT::WidgetProxy
- Defined in:
- lib/glimmer/data_binding/observable_widget.rb
Instance Method Summary collapse
-
#method_missing(method, *args, &block) ⇒ Object
TODO see if it is worth it to eliminate duplication of method_missing from WidgetProxy using a module.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
TODO see if it is worth it to eliminate duplication of method_missing from WidgetProxy using a module
7 8 9 10 11 12 13 14 |
# File 'lib/glimmer/data_binding/observable_widget.rb', line 7 def method_missing(method, *args, &block) method_name = method.to_s if can_handle_observation_request?(method_name) handle_observation_request(method_name, &block) else super end end |