Class: BaseFunction

Inherits:
Object
  • Object
show all
Defined in:
lib/libisi/function/base.rb

Overview

context: Context name in a environment name: The name of the function

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contextObject (readonly)

Returns the value of attribute context.



22
23
24
# File 'lib/libisi/function/base.rb', line 22

def context
  @context
end

#nameObject (readonly)

Returns the value of attribute name.



22
23
24
# File 'lib/libisi/function/base.rb', line 22

def name
  @name
end