Class: Guideline::LongMethodChecker::MethodParser
- Inherits:
-
Ripper
- Object
- Ripper
- Guideline::LongMethodChecker::MethodParser
- Defined in:
- lib/guideline/checkers/long_method_checker.rb
Class Attribute Summary collapse
-
.callback ⇒ Object
readonly
Returns the value of attribute callback.
Class Method Summary collapse
Class Attribute Details
.callback ⇒ Object (readonly)
Returns the value of attribute callback.
34 35 36 |
# File 'lib/guideline/checkers/long_method_checker.rb', line 34 def callback @callback end |
Class Method Details
.parse(&callback) ⇒ Object
36 37 38 39 |
# File 'lib/guideline/checkers/long_method_checker.rb', line 36 def parse(*, &callback) @callback = callback super end |