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
872 873 874 875 876 877 878 |
# File 'lib/rdoc/rd/inline_parser.rb', line 872 def next_words_on_error if n = @src.rest.index("\n") @src.rest[0 .. (n-1)] else @src.rest end end |