Module: Abachrome::ToAbcd
- Defined in:
- lib/abachrome/to_abcd.rb
Instance Method Summary collapse
-
#to_abcd ⇒ Abachrome::AbcDecimal
Converts the receiver to an AbcDecimal object.
Instance Method Details
#to_abcd ⇒ Abachrome::AbcDecimal
Converts the receiver to an AbcDecimal object.
This method converts the receiver (typically a numeric value) to an AbcDecimal instance, which provides high precision decimal arithmetic capabilities for color space calculations.
same numeric value as the receiver
13 14 15 |
# File 'lib/abachrome/to_abcd.rb', line 13 def to_abcd AbcDecimal.new(self) end |