Class: Fabrique::Test::Fixtures::OpenGL::Mesh
- Inherits:
-
Object
- Object
- Fabrique::Test::Fixtures::OpenGL::Mesh
- Defined in:
- lib/fabrique/test/fixtures/opengl.rb
Instance Attribute Summary collapse
-
#vectors ⇒ Object
readonly
Returns the value of attribute vectors.
Instance Method Summary collapse
-
#initialize(vectors = []) ⇒ Mesh
constructor
A new instance of Mesh.
Constructor Details
#initialize(vectors = []) ⇒ Mesh
25 26 27 |
# File 'lib/fabrique/test/fixtures/opengl.rb', line 25 def initialize(vectors = []) @vectors = vectors end |
Instance Attribute Details
#vectors ⇒ Object (readonly)
Returns the value of attribute vectors.
23 24 25 |
# File 'lib/fabrique/test/fixtures/opengl.rb', line 23 def vectors @vectors end |