Module: Glimmer::DataBinding::ObservableElement

Included in:
SWT::ComboProxy
Defined in:
lib/glimmer/data_binding/observable_element.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/glimmer/data_binding/observable_element.rb', line 4

def method_missing(method, *args, &block)
  method_name = method.to_s
  if method_name.start_with?('on_')
    handle_observation_request(method_name, block)
  else
    super
  end
end