Class: Ruleby::Core::InitialFactPattern
- Inherits:
-
ObjectPattern
- Object
- Pattern
- ObjectPattern
- Ruleby::Core::InitialFactPattern
- Defined in:
- lib/core/patterns.rb
Instance Attribute Summary
Attributes inherited from ObjectPattern
Instance Method Summary collapse
-
#initialize ⇒ InitialFactPattern
constructor
A new instance of InitialFactPattern.
Methods inherited from ObjectPattern
Constructor Details
#initialize ⇒ InitialFactPattern
Returns a new instance of InitialFactPattern.
107 108 109 110 111 112 |
# File 'lib/core/patterns.rb', line 107 def initialize deftemplate = Template.new InitialFact, :equals htag = GeneratedTag.new head = HeadAtom.new htag, deftemplate super(head, []) end |