Class: ConfigTemplates::Extensions::Invocation
- Inherits:
-
Object
- Object
- ConfigTemplates::Extensions::Invocation
- Defined in:
- lib/config_templates/extensions/invocation.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, args, block) ⇒ Invocation
constructor
A new instance of Invocation.
Constructor Details
#initialize(method, args, block) ⇒ Invocation
Returns a new instance of Invocation.
5 6 7 8 9 |
# File 'lib/config_templates/extensions/invocation.rb', line 5 def initialize(method, args, block) @method = method @args = args @block = block end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/config_templates/extensions/invocation.rb', line 3 def args @args end |
#block ⇒ Object (readonly)
Returns the value of attribute block.
3 4 5 |
# File 'lib/config_templates/extensions/invocation.rb', line 3 def block @block end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
3 4 5 |
# File 'lib/config_templates/extensions/invocation.rb', line 3 def method @method end |