Method: PunkBlocks#svgFromNames

Defined in:
lib/ethlite/contracts/punk_blocks.rb

#svgFromNames(_attributeNames) ⇒ Object

function svgFromNames

svgFromNames returns the svg data as a string
@param _attributeNames a list of attribute names, eg "Male 1", "Goat"
   must have at least 1 layer 0 attribute (eg. Male, Female, Alien, Ape, Zombie)
   e.g. ["Male 1","Goat"]
   Where "Male 1" is a layer 0 attribute, that decides what version of
   image to use for the higher
  layers (dataMale or dataFemale)


163
164
165
# File 'lib/ethlite/contracts/punk_blocks.rb', line 163

def svgFromNames(_attributeNames)
  do_call("svgFromNames", _attributeNames)
end