client/lib/base_object.rb
# First call BaseObject method handler,
# then, if not method found try ActionObject handler
First call BaseObject method handler,
then, if not method found try ActionObject handler
First call BaseObject method handler then if not method found try ActionObject handler
def method_handler(m, args=[])
        begin
          base_method_handler(m, args)
        rescue NoHandlerForMethod
          case m[:type]
            when :action_link then do_action(m, args)
            else raise NoHandlerForMethod
          end
        end
      end
def method_handler ( m , args = [ ] ) begin base_method_handler ( m , args ) rescue NoHandlerForMethod case m [ :type ] when :action_link then do_action ( m , args ) else raise NoHandlerForMethod end end end
First call BaseObject method handler,
then, if not method found try ActionObject handler
First call BaseObject method handler then if not method found try ActionObject handler
m
args