Method: Conflow::Redis::Model#==
- Defined in:
- lib/conflow/redis/model.rb
#==(other) ⇒ 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.
-
if other object is a Conflow::Redis::Model as well, it compares keys
-
standard Ruby comparison otherwise
16 17 18 |
# File 'lib/conflow/redis/model.rb', line 16 def ==(other) other.is_a?(Model) ? key == other.key : super end |