Class: BaseTagging
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- BaseTagging
- Defined in:
- lib/needle_in_a_haystack/concerns/base_tagging.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#tag ⇒ Object
4 5 6 |
# File 'lib/needle_in_a_haystack/concerns/base_tagging.rb', line 4 def tag raise NotImplementedError, "Subclasses must implement a tag-method" end |
#taggable ⇒ Object
8 9 10 |
# File 'lib/needle_in_a_haystack/concerns/base_tagging.rb', line 8 def taggable raise NotImplementedError, "Subclasses must implement a taggable-method" end |