Class: Ruleby::Core::BlockAtom
- Inherits:
-
PropertyAtom
- Object
- Atom
- PropertyAtom
- Ruleby::Core::BlockAtom
- Defined in:
- lib/core/atoms.rb
Overview
TODO use this
Instance Attribute Summary
Attributes inherited from Atom
#deftemplate, #method, #proc, #tag
Instance Method Summary collapse
Methods inherited from PropertyAtom
Methods inherited from Atom
Constructor Details
This class inherits a constructor from Ruleby::Core::Atom
Instance Method Details
#shareable?(atom) ⇒ Boolean
52 53 54 55 56 |
# File 'lib/core/atoms.rb', line 52 def shareable?(atom) return super && BlockAtom === atom && @proc == atom.proc end |