Class: Sevgi::Geometry::Equation::Linear::Horizontal
- Defined in:
- lib/sevgi/geometry/equation/linear.rb
Instance Attribute Summary
Attributes inherited from Diagonal
Instance Method Summary collapse
-
#initialize(c) ⇒ Horizontal
constructor
A new instance of Horizontal.
Methods inherited from Diagonal
#approx, #eql?, #hash, #left?, #on?, #right?, #shift, #to_s, #x, #y
Constructor Details
#initialize(c) ⇒ Horizontal
Returns a new instance of Horizontal.
60 |
# File 'lib/sevgi/geometry/equation/linear.rb', line 60 def initialize(c) = super(slope: 0.0, intercept: c) |