rwz/adequate_exposure

View on GitHub

Showing 2 of 2 total issues

Class Exposure has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

  class Exposure
    attr_reader :controller, :options

    # Public: Initializes an Exposure and makes it accessible to a controller.
    # For each Exposure, a getter and setter is defined.
Severity: Minor
Found in lib/adequate_exposure/exposure.rb - About 2 hrs to fix

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

        def initialize(controller, name, fetch_block=nil, **options, &block)
    Severity: Minor
    Found in lib/adequate_exposure/exposure.rb - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language