Class: Coolcats::Spritesheet

Inherits:
Object
  • Object
show all
Defined in:
lib/coolcats.rb

Class Method Summary collapse

Class Method Details

.find_by(name:) ⇒ Object

note: for now class used for “namespace” only



40
41
42
43
# File 'lib/coolcats.rb', line 40

def self.find_by( name: )  ## return archetype/attribute image by name
   # note: pass along name as q (query string)
   Coolcats.generator.find( name )
end