Method: RDoc::Markdown::Literals#failure_caret

Defined in:
lib/rdoc/markdown/literals.rb

#failure_caretObject



147
148
149
150
# File 'lib/rdoc/markdown/literals.rb', line 147

def failure_caret
  p = current_pos_info @failing_rule_offset
  "#{p.line.chomp}\n#{' ' * (p.col - 1)}^"
end