Class: RDist::Analyzer::MethodLength
- 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
-
#initialize ⇒ MethodLength
constructor
A new instance of MethodLength.
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
#initialize ⇒ MethodLength
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 |