class Rectangle::Square

Public Class Methods

new(width) click to toggle source
Calls superclass method Rectangle::Rectangle::new
# File lib/rectangle.rb, line 33
def initialize width
  super width, width
end