Method: RDoc::RD::InlineParser#next_words_on_error
- Defined in:
- lib/rdoc/rd/inline_parser.rb
#next_words_on_error ⇒ Object
Returns words following an error
228 229 230 231 232 233 234 |
# File 'lib/rdoc/rd/inline_parser.rb', line 228 def next_words_on_error if n = @src.rest.index("\n") @src.rest[0 .. (n-1)] else @src.rest end end |