Class: Bullet::Registry::Object

Inherits:
Base
  • Object
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



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

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

#include?(bullet_key) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/bullet/registry/object.rb', line 13

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