Module: AsyncObserver::Extensions::ClassMethods
- Defined in:
- lib/async_observer/extend.rb
Instance Method Summary collapse
Instance Method Details
#async_method(method, options = {}) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/async_observer/extend.rb', line 38 def async_method(method, = {}) = class_variable_get(:@@methods_async_options) if class_variable_set(:@@methods_async_options, .merge(method.to_sym => )) end end |