halostatue/color

View on GitHub
lib/color/hsl.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class HSL has 33 methods (exceeds 20 allowed). Consider refactoring.
Open

class Color::HSL
  include Color

  class << self
    # Creates an HSL colour object from fractional values 0..1.
Severity: Minor
Found in lib/color/hsl.rb - About 4 hrs to fix

    Method initialize has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def initialize(h = 0, s = 0, l = 0, radix1 = 360.0, radix2 = 100.0, &block) # :yields self:
    Severity: Minor
    Found in lib/color/hsl.rb - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status