Class: BuildingSync::Dimensions
- Inherits:
-
Object
- Object
- BuildingSync::Dimensions
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaDimensions
height - BuildingSync::Height
width - BuildingSync::Width
length - BuildingSync::Length
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#length ⇒ Object
Returns the value of attribute length.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(height = [], width = [], length = []) ⇒ Dimensions
constructor
A new instance of Dimensions.
Constructor Details
#initialize(height = [], width = [], length = []) ⇒ Dimensions
Returns a new instance of Dimensions.
27338 27339 27340 27341 27342 |
# File 'lib/BuildingSync.rb', line 27338 def initialize(height = [], width = [], length = []) @height = height @width = width @length = length end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
27334 27335 27336 |
# File 'lib/BuildingSync.rb', line 27334 def height @height end |
#length ⇒ Object
Returns the value of attribute length.
27336 27337 27338 |
# File 'lib/BuildingSync.rb', line 27336 def length @length end |
#width ⇒ Object
Returns the value of attribute width.
27335 27336 27337 |
# File 'lib/BuildingSync.rb', line 27335 def width @width end |