Class: ColorConverters::NullConverter

Inherits:
BaseConverter show all
Defined in:
lib/color_converters/converters/null_converter.rb

Constant Summary

Constants inherited from BaseConverter

BaseConverter::IMPORT_DP, BaseConverter::OUTPUT_DP

Instance Attribute Summary

Attributes inherited from BaseConverter

#original_value, #rgba

Class Method Summary collapse

Methods inherited from BaseConverter

#alpha, #cielab, #cielch, #cmyk, factory, #hex, #hsb, #hsl, #hsv, inherited, #initialize, #name, #oklab, #oklch, #rgb, #xyz

Constructor Details

This class inherits a constructor from ColorConverters::BaseConverter

Class Method Details

.matches?(_colour_input) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/color_converters/converters/null_converter.rb', line 5

def self.matches?(_colour_input)
  true
end