Class: Cryptopunks::Spritesheet

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

Class Method Summary collapse

Class Method Details

.find_by(name:, gender: nil) ⇒ Object

note: for now class used for “namespace” only



62
63
64
65
# File 'lib/cryptopunks.rb', line 62

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