Parent

Methods

Roodi::Checks::ClassLineCountCheck

Checks a class to make sure the number of lines it has is under the specified limit.

A class getting too large is a code smell that indicates it might be taking on too many responsibilities. It should probably be refactored into multiple smaller classes.

Constants

DEFAULT_LINE_COUNT

Public Class Methods

new(options = {}) click to toggle source
# File lib/roodi/checks/class_line_count_check.rb, line 12
def initialize(options = {})
  line_count = options['line_count'] || DEFAULT_LINE_COUNT
  super([:class], line_count, 'Class')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.