Class: ProconBypassMan::Callbacks::Callback
- Inherits:
-
Object
- Object
- ProconBypassMan::Callbacks::Callback
- Defined in:
- lib/procon_bypass_man/support/callbacks.rb
Instance Attribute Summary collapse
-
#chain_method ⇒ Object
Returns the value of attribute chain_method.
-
#filter ⇒ Object
Returns the value of attribute filter.
Instance Method Summary collapse
-
#initialize(filter:, chain_method:, block:) ⇒ Callback
constructor
A new instance of Callback.
Constructor Details
#initialize(filter:, chain_method:, block:) ⇒ Callback
Returns a new instance of Callback.
68 69 70 71 72 |
# File 'lib/procon_bypass_man/support/callbacks.rb', line 68 def initialize(filter: , chain_method: , block: ) @filter = filter @chain_method = chain_method @block = block end |
Instance Attribute Details
#chain_method ⇒ Object
Returns the value of attribute chain_method.
66 67 68 |
# File 'lib/procon_bypass_man/support/callbacks.rb', line 66 def chain_method @chain_method end |
#filter ⇒ Object
Returns the value of attribute filter.
66 67 68 |
# File 'lib/procon_bypass_man/support/callbacks.rb', line 66 def filter @filter end |