Methods

Roodi::Checks::ModuleLineCountCheck

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

A module 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 modules.

Constants

DEFAULT_LINE_COUNT

Public Class Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.