Class: MagicaVoxel::Shape::Model
- Inherits:
-
Object
- Object
- MagicaVoxel::Shape::Model
- Defined in:
- lib/magica_voxel/shape.rb
Overview
:nodoc:
Instance Attribute Summary collapse
- #attributes ⇒ Object readonly
- #id ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(id, attributes) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(id, attributes) ⇒ Model
Returns a new instance of Model.
17 18 19 20 |
# File 'lib/magica_voxel/shape.rb', line 17 def initialize(id, attributes) @id = id @attributes = attributes end |