lib/json2/csv_without_header.rb
def process_key(object)
      case object
      when ~:each_key then process_keys(object)
      when ~:at then process_array(object)
      else
        error(99, 'Error, try without using --without-header')
      end
    end
# 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 process_key(object)
      case object
      when ~:each_key then process_keys(object)
      when ~:at then process_array(object)
      else
        error(99, 'Error, try without using --without-header')
      end
    end
def process_key ( object ) case object when ~ :each_key then process_keys ( object ) when ~ :at then process_array ( object ) else error ( 99 , 'Error, try without using --without-header' ) end end
Creates a new CsvWithoutHeader instance.
Creates a new CsvWithoutHeader instance .
object