Class: Gobstones::Lang::Function
- Inherits:
-
Definition
- Object
- Definition
- Gobstones::Lang::Function
- Defined in:
- lib/gobstones/lang/definitions/function.rb
Instance Attribute Summary
Attributes inherited from Definition
#arguments, #body, #name, #return_statement
Instance Method Summary collapse
Methods inherited from Definition
#equality_attributes, #evaluate, #initialize, #named?
Methods included from EqualityDefinition
Constructor Details
This class inherits a constructor from Gobstones::Lang::Definition
Instance Method Details
#create_context_based_on(outer_context) ⇒ Object
12 13 14 |
# File 'lib/gobstones/lang/definitions/function.rb', line 12 def create_context_based_on(outer_context) Runner::FunctionExecutionContext.based_on(outer_context) end |
#definition_type ⇒ Object
8 9 10 |
# File 'lib/gobstones/lang/definitions/function.rb', line 8 def definition_type 'function' end |