Method: MatchData#display_breakdown

Defined in:
lib/innate/regexp.rb

#display_breakdownObject



57
58
59
60
61
62
63
# File 'lib/innate/regexp.rb', line 57

def display_breakdown
  r = "S: |#{string}|"
  breakdown.each_with_index do |s, i|
    r += "\n#{i}: |#{s}|"
  end
  r
end