class ColorPoint
Attributes
color[R]
Public Class Methods
new(x, y, color)
click to toggle source
Calls superclass method
Point.new
# File examples/point.rb, line 18 def initialize(x, y, color) super(x, y) @color = color end