class Bullet::Registry::Association
Public Instance Methods
Source
# File lib/bullet/registry/association.rb, line 6 def merge(base, associations) @registry.merge!(base => associations) end
Source
# File lib/bullet/registry/association.rb, line 10 def similarly_associated(base, associations) @registry.select { |key, value| key.include?(base) && value == associations } .collect(&:first).flatten end