Method: RDoc::Markdown::Literals#set_string
- Defined in:
- lib/rdoc/markdown/literals.rb
#set_string(string, pos) ⇒ Object
Sets the string and current parsing position for the parser.
119 120 121 122 123 124 |
# File 'lib/rdoc/markdown/literals.rb', line 119 def set_string string, pos @string = string @string_size = string ? string.size : 0 @pos = pos @position_line_offsets = nil end |