Class: RuPov::Textures::Texture

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

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#<<, #to_s

Constructor Details

#initialize {|_self| ... } ⇒ Texture

Returns a new instance of Texture.

Yields:

  • (_self)

Yield Parameters:



291
292
293
294
# File 'lib/rupov.rb', line 291

def initialize
    super( 'texture' )
    yield(self) if block_given? and self.class == Texture
end