Class: Ruleby::Core::SelfReferenceAtom

Inherits:
ReferenceAtom show all
Defined in:
lib/core/atoms.rb

Overview

This is an atom that references another atom that is in the same pattern. Note that in a SelfReferenceAtom, the ‘vars’ argument must be a list of the slots that this atom references (not the variable names)!

Instance Attribute Summary

Attributes inherited from ReferenceAtom

#vars

Attributes inherited from Atom

#proc, #slot, #tag, #template

Method Summary

Methods inherited from ReferenceAtom

#==, #initialize, #shareable?, #to_s

Methods inherited from Atom

#initialize, #to_s

Constructor Details

This class inherits a constructor from Ruleby::Core::ReferenceAtom