lib/parser/multiline_rule.rb
# maps multiline data into an Array, using multiline expression
maps multiline data into an Array, using multiline expression
maps multiline data into an Array using multiline expression
def map_multiline_data(data_as_string)    
    data_as_string.each_line.collect do |row|
      row.match(@multiline_expression) do |matched_data|
        str, *values = *matched_data
        values
      end
    end
  end
def map_multiline_data ( data_as_string ) data_as_string . each_line . collect do | row | row . match ( @multiline_expression ) do | matched_data | str , * values = * matched_data values end end end
maps multiline data into an Array, using multiline expression
maps multiline data into an Array using multiline expression
data_as_string
<not_specific>