Class: Ruby19Parser
- Inherits:
-
RubyParser
- Object
- RubyParser
- Ruby19Parser
- Defined in:
- lib/turbulence/calculators/complexity.rb
Instance Method Summary collapse
Instance Method Details
#process(ruby, file) ⇒ Object
5 6 7 8 |
# File 'lib/turbulence/calculators/complexity.rb', line 5 def process(ruby, file) ruby.gsub!(/(\w+):\s+/, '"\1" =>') super(ruby, file) end |