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



6
7
8
# File 'lib/bullet/registry/object.rb', line 6

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

#include?(bullet_key) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/bullet/registry/object.rb', line 10

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