Sha256: 327fa7c41e1e642c2a665ccf5b4160ac0ad5f5771194e8d1a3501346ffb506f5
Contents?: true
Size: 795 Bytes
Versions: 6
Compression:
Stored size: 795 Bytes
Contents
class BaseTag < ApplicationRecord self.abstract_class = true def full_path raise NotImplementedError, "Subclasses must implement a full_path-method" end def prevent_circular_reference raise NotImplementedError, "Subclasses must implement a prevent_circular_reference-method" end def ancestors raise NotImplementedError, "Subclasses must implement an ancestors-method" end def descendants raise NotImplementedError, "Subclasses must implement a descendants-method" end def siblings raise NotImplementedError, "Subclasses must implement a siblings-method" end def root? raise NotImplementedError, "Subclasses must implement a root?-method" end def leaf? raise NotImplementedError, "Subclasses must implement a leaf?-method" end end
Version data entries
6 entries across 6 versions & 1 rubygems