Class: Bullet::Registry::Object

Inherits:
Base show all
Defined in:
lib/bullet/registry/object.rb

Instance Attribute Summary

Attributes inherited from Base

#registry

Instance Method Summary collapse

Methods inherited from Base

#[], #delete, #each, #initialize, #select

Constructor Details

This class inherits a constructor from Bullet::Registry::Base

Instance Method Details

#add(bullet_key) ⇒ Object



4
5
6
# File 'lib/bullet/registry/object.rb', line 4

def add(bullet_key)
  super(bullet_key.bullet_class_name, bullet_key)
end

#include?(bullet_key) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/bullet/registry/object.rb', line 8

def include?(bullet_key)
  super(bullet_key.bullet_class_name, bullet_key)
end