Method: MaRuKu::In::Markdown::SpanLevelParser::CharSourceManual#read_text_chars
- Defined in:
- lib/maruku/input/charsource.rb
#read_text_chars(out) ⇒ Object
135 136 137 138 139 140 141 142 |
# File 'lib/maruku/input/charsource.rb', line 135 def read_text_chars(out) s = @buffer.size; c=nil while @buffer_index < s && (c=@buffer[@buffer_index]) && ((c>=?a && c<=?z) || (c>=?A && c<=?Z)) out << c @buffer_index += 1 end end |