Method: RDoc::Markdown::Literals#match_string
- Defined in:
- lib/rdoc/markdown/literals.rb
#match_string(str) ⇒ Object
202 203 204 205 206 207 208 209 210 |
# File 'lib/rdoc/markdown/literals.rb', line 202 def match_string(str) len = str.size if @string[pos,len] == str @pos += len return str end return nil end |