Method: RDoc::Markdown::Literals#failure_oneline
- Defined in:
- lib/rdoc/markdown/literals.rb
#failure_oneline ⇒ Object
156 157 158 159 160 161 162 163 164 165 |
# File 'lib/rdoc/markdown/literals.rb', line 156 def failure_oneline p = current_pos_info @failing_rule_offset if @failed_rule.kind_of? Symbol info = self.class::Rules[@failed_rule] "@#{p.lno}:#{p.col} failed rule '#{info.name}', got '#{p.char}'" else "@#{p.lno}:#{p.col} failed rule '#{@failed_rule}', got '#{p.char}'" end end |