Method: DataMapper::OrderedSet::Cache::API#valid?
- Defined in:
- lib/dm-core/support/ordered_set.rb
#valid?(entry) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Tests if the given entry qualifies to be added to the cache
73 74 75 |
# File 'lib/dm-core/support/ordered_set.rb', line 73 def valid?(entry) raise NotImplementedError, "#{self}#valid? must be implemented" end |