lib/json2/csv_without_header.rb
# Creates a new CsvWithoutHeader instance.
#
# input - A Hash representing a Json file. This is typically
#         obtained with JSON.parse.
Creates a new CsvWithoutHeader instance.
input - A Hash representing a Json file. This is typically
obtained with JSON.parse.
Creates a new CsvWithoutHeader instance . input - A Hash representing a Json file . This is typically obtained with JSON . parse .
def record_line(element)
      @names_stack.push(element)
      @output += @names_stack.join(',') + "\n"
      @names_stack.pop
    end
def record_line ( element ) @names_stack . push ( element ) @output += @names_stack . join ( ',' ) + "\n" @names_stack . pop end
Creates a new CsvWithoutHeader instance.
Creates a new CsvWithoutHeader instance .
element