Module: Abachrome::ToAbcd

Defined in:
lib/abachrome/to_abcd.rb

Instance Method Summary collapse

Instance Method Details

#to_abcdAbachrome::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

Returns:



13
14
15
# File 'lib/abachrome/to_abcd.rb', line 13

def to_abcd
  AbcDecimal.new(self)
end