Class: Webspicy::Support::Hooks::Object

Inherits:
Object
  • Object
show all
Includes:
Webspicy::Support::Hooks
Defined in:
lib/webspicy/support/hooks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configObject

Returns the value of attribute config.



9
10
11
# File 'lib/webspicy/support/hooks.rb', line 9

def config
  @config
end