Module: Interest::Blockable::Blockee
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/interest/blockable/blockee.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#blocked_by?(blocker) ⇒ Boolean
11 12 13 |
# File 'lib/interest/blockable/blockee.rb', line 11 def blocked_by?(blocker) blockee_collection_for(blockee).include? blocker end |