Class: Sevgi::Geometry::Grid::Y
- Defined in:
- lib/sevgi/geometry/sundries/grid.rb
Instance Attribute Summary
Attributes inherited from Axis
Attributes inherited from Ruler
Attributes inherited from Interval
Instance Method Summary collapse
-
#initialize(this, other) ⇒ Y
constructor
A new instance of Y.
- #segment ⇒ Object
Methods inherited from Ruler
#expand, #margin, #ms, #sd, #sn, #su, #waste
Methods inherited from Interval
#[], [], #count, #d, #ds, #h, #hs, #nds, #nhs
Constructor Details
#initialize(this, other) ⇒ Y
Returns a new instance of Y.
69 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 69 def initialize(this, other) = super(other, this) |
Instance Method Details
#segment ⇒ Object
71 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 71 def segment = @segment || Segment.vertical(d) |