Class: Cartoonist::Searchable
- Inherits:
-
Object
- Object
- Cartoonist::Searchable
- Defined in:
- lib/cartoonist.rb
Constant Summary collapse
- @@all =
[]
Class Method Summary collapse
Class Method Details
.add(model_name) ⇒ Object
276 277 278 |
# File 'lib/cartoonist.rb', line 276 def add(model_name) @@all << model_name end |
.all ⇒ Object
272 273 274 |
# File 'lib/cartoonist.rb', line 272 def all @@all.map &:constantize end |