Class: MiniKraken::Core::LogVar
- Inherits:
-
Object
- Object
- MiniKraken::Core::LogVar
- Includes:
- Entry
- Defined in:
- lib/mini_kraken/core/log_var.rb
Overview
Representation of a MiniKraken logical variable. It is a named slot that can be associated with one value at the time. In relational programming, there is no explicit assignment expression. A logical variable acquires a value through an algorithm called ‘unification’.
Instance Attribute Summary
Attributes included from Entry
Instance Method Summary collapse
-
#initialize(aName) ⇒ LogVar
constructor
Create a logical variable with given name.
Methods included from Entry
Constructor Details
#initialize(aName) ⇒ LogVar
Create a logical variable with given name
17 18 19 |
# File 'lib/mini_kraken/core/log_var.rb', line 17 def initialize(aName) init_name(aName) end |