Class: BaseFunction
- Inherits:
-
Object
- Object
- BaseFunction
- Defined in:
- lib/libisi/function/base.rb
Overview
context: Context name in a environment name: The name of the function
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(cont, name, optinos = {}) ⇒ BaseFunction
constructor
A new instance of BaseFunction.
Constructor Details
#initialize(cont, name, optinos = {}) ⇒ BaseFunction
Returns a new instance of BaseFunction.
24 25 26 27 |
# File 'lib/libisi/function/base.rb', line 24 def initialize(cont, name, optinos = {}) @context = cont @name = name end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
22 23 24 |
# File 'lib/libisi/function/base.rb', line 22 def context @context end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'lib/libisi/function/base.rb', line 22 def name @name end |