Class: MuchRails::CallMethodCallbacks::MuchRailsCallCallbacksConfig
- Inherits:
-
Object
- Object
- MuchRails::CallMethodCallbacks::MuchRailsCallCallbacksConfig
- Defined in:
- lib/much-rails/call_method_callbacks.rb
Instance Attribute Summary collapse
-
#after_callbacks ⇒ Object
Returns the value of attribute after_callbacks.
-
#around_callbacks ⇒ Object
Returns the value of attribute around_callbacks.
-
#before_callbacks ⇒ Object
Returns the value of attribute before_callbacks.
Instance Method Summary collapse
-
#initialize ⇒ MuchRailsCallCallbacksConfig
constructor
A new instance of MuchRailsCallCallbacksConfig.
Constructor Details
#initialize ⇒ MuchRailsCallCallbacksConfig
Returns a new instance of MuchRailsCallCallbacksConfig.
116 117 118 119 120 |
# File 'lib/much-rails/call_method_callbacks.rb', line 116 def initialize @before_callbacks = [] @after_callbacks = [] @around_callbacks = [] end |
Instance Attribute Details
#after_callbacks ⇒ Object
Returns the value of attribute after_callbacks.
114 115 116 |
# File 'lib/much-rails/call_method_callbacks.rb', line 114 def after_callbacks @after_callbacks end |
#around_callbacks ⇒ Object
Returns the value of attribute around_callbacks.
114 115 116 |
# File 'lib/much-rails/call_method_callbacks.rb', line 114 def around_callbacks @around_callbacks end |
#before_callbacks ⇒ Object
Returns the value of attribute before_callbacks.
114 115 116 |
# File 'lib/much-rails/call_method_callbacks.rb', line 114 def before_callbacks @before_callbacks end |