code-mancers/invoicing

View on GitHub
lib/invoicing/class_info.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method acts_as has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.acts_as(source_module, calling_class, args)
      # The name by which the particular module using ClassInfo is known
      module_name = source_module.name.split('::').last.underscore
      class_info_method = "#{module_name}_class_info"

Severity: Minor
Found in lib/invoicing/class_info.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status