Method: ExtraSpace::Dimensions#initialize
- Defined in:
- lib/extraspace/dimensions.rb
#initialize(depth:, width:, height: DEFAULT_HEIGHT) ⇒ Dimensions
Returns a new instance of Dimensions.
30 31 32 33 34 |
# File 'lib/extraspace/dimensions.rb', line 30 def initialize(depth:, width:, height: DEFAULT_HEIGHT) @depth = depth @width = width @height = height end |