Class: Guideline::HashCommaChecker::HashParser
- Inherits:
-
Ripper
- Object
- Ripper
- Guideline::HashCommaChecker::HashParser
- Defined in:
- lib/guideline/checkers/hash_comma_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.
17 18 19 |
# File 'lib/guideline/checkers/hash_comma_checker.rb', line 17 def callback @callback end |
Class Method Details
.parse(&callback) ⇒ Object
19 20 21 22 |
# File 'lib/guideline/checkers/hash_comma_checker.rb', line 19 def parse(*, &callback) @callback = callback super end |