Class: Polynomials::Root
Instance Attribute Summary
Attributes inherited from Point
Instance Method Summary collapse
-
#initialize(x) ⇒ Root
constructor
A new instance of Root.
Methods inherited from Point
Constructor Details
#initialize(x) ⇒ Root
Returns a new instance of Root.
66 67 68 |
# File 'lib/polynomials/point.rb', line 66 def initialize(x) super(x,0) end |