Module: HamdownCore::RubyMultiline
- Defined in:
- lib/hamdown_core/ruby_multiline.rb
Class Method Summary collapse
Class Method Details
.read(line_parser, current_text) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/hamdown_core/ruby_multiline.rb', line 4 def self.read(line_parser, current_text) buf = [] while is_ruby_multiline?(current_text) current_text = line_parser.next_line buf << current_text end buf end |