Class: ProcessWanker::ConfigHook
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigHook
- Defined in:
- lib/config/config_hook.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize(container, pattern, block) ⇒ ConfigHook
constructor
A new instance of ConfigHook.
Methods inherited from ConfigNode
Constructor Details
#initialize(container, pattern, block) ⇒ ConfigHook
Returns a new instance of ConfigHook.
30 31 32 33 34 |
# File 'lib/config/config_hook.rb', line 30 def initialize(container,pattern,block) @container=container @pattern=pattern @block=block end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
28 29 30 |
# File 'lib/config/config_hook.rb', line 28 def block @block end |
#pattern ⇒ Object
Returns the value of attribute pattern.
27 28 29 |
# File 'lib/config/config_hook.rb', line 27 def pattern @pattern end |