brandonhilkert/sucker_punch

View on GitHub
lib/sucker_punch/core_ext.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method class_attribute has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def class_attribute(*attrs)
      instance_writer = true

      attrs.each do |name|
        class_eval <<-RUBY, __FILE__, __LINE__ + 1
Severity: Minor
Found in lib/sucker_punch/core_ext.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status