Class: MuchRails::CallMethodCallbacks::MuchRailsCallCallbacksConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/much-rails/call_method_callbacks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMuchRailsCallCallbacksConfig

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_callbacksObject

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_callbacksObject

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_callbacksObject

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