Class: RDist::Analyzer::MethodLength

Inherits:
Base
  • Object
show all
Defined in:
lib/rdist/analyzer/methodlength.rb

Instance Attribute Summary

Attributes inherited from Base

#histogram_interval, #pattern_close_token, #pattern_count_target, #pattern_open_token

Instance Method Summary collapse

Methods inherited from Base

#__set_state_in_block__, #add_count_of, #allow_nesting?, #analyze, #analyze_all, #deny_nesting?, #histogram, #ranking, #reset, #set_state_in_block

Constructor Details

#initializeMethodLength

Returns a new instance of MethodLength.



4
5
6
# File 'lib/rdist/analyzer/methodlength.rb', line 4

def initialize
  super(/def/, /$/, /end/, RDist::DENY_NESTING)
end