Class: Webspicy::Support::Hooks::Object
- Inherits:
-
Object
- Object
- Webspicy::Support::Hooks::Object
- Includes:
- Webspicy::Support::Hooks
- Defined in:
- lib/webspicy/support/hooks.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ Object
constructor
A new instance of Object.
Methods included from Webspicy::Support::Hooks
#fire_after_all, #fire_after_each, #fire_around, #fire_before_all, #fire_before_each, for
Constructor Details
#initialize(config) ⇒ Object
Returns a new instance of Object.
6 7 8 |
# File 'lib/webspicy/support/hooks.rb', line 6 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
9 10 11 |
# File 'lib/webspicy/support/hooks.rb', line 9 def config @config end |