Class: Boxify::Space
- Inherits:
-
Object
- Object
- Boxify::Space
- Includes:
- Dimensionable
- Defined in:
- lib/boxify/space.rb
Instance Attribute Summary
Attributes included from Dimensionable
Instance Method Summary collapse
-
#initialize(width:, depth:, height:) ⇒ Space
constructor
A new instance of Space.
Methods included from Dimensionable
Constructor Details
#initialize(width:, depth:, height:) ⇒ Space
Returns a new instance of Space.
5 6 7 8 9 |
# File 'lib/boxify/space.rb', line 5 def initialize(width:, depth:, height:) @width = width @depth = depth @height = height end |