Class: Math::Geometry::Square
- Inherits:
-
Rectangle
- Object
- Shape
- PlaneFigure
- Quadrilateral
- Rectangle
- Math::Geometry::Square
- Defined in:
- lib/ruuuby/math/geometry/shape/quadrilateral.rb
Instance Attribute Summary
Attributes inherited from PlaneFigure
Instance Method Summary collapse
-
#initialize(length) ⇒ Square
constructor
A new instance of Square.
Methods inherited from Rectangle
Methods inherited from Quadrilateral
Methods inherited from PlaneFigure
Constructor Details
#initialize(length) ⇒ Square
Returns a new instance of Square.
49 50 51 |
# File 'lib/ruuuby/math/geometry/shape/quadrilateral.rb', line 49 def initialize(length) super(length, length) end |