Class: Sevgi::Sundries::RulerEven
- Defined in:
- lib/sevgi/sundries/ruler.rb
Overview
Ruler variant that always chooses an even number of major intervals.
If ordinary fitting produces an odd count, one complete major interval is removed and the additional space is distributed through the margins.
Instance Attribute Summary
Attributes inherited from Ruler
Attributes inherited from Interval
Method Summary
Methods inherited from Ruler
#expand, #initialize, #margins, #ms, #sd, #sn, #su, #waste
Methods inherited from Interval
[], #[], #count, #d, #ds, #h, #hs, #initialize, #nds, #nhs
Constructor Details
This class inherits a constructor from Sevgi::Sundries::Ruler