class Object

Public Instance Methods

display_list(full_list) click to toggle source
# File lib/rails/generators/google/rspec/templates/full_hash_parse_spec.rb, line 11
def display_list full_list
  full_list.keys.each do |list|
    puts "List #{list}"
    puts "    Full length hash:"
    full_list[list].keys.each do |add_chunk_num|
      puts "       Add chunk num: #{add_chunk_num}"
      full_list[list][add_chunk_num].each do |full_hash|
        puts "             full hash: #{full_hash}"
      end
    end
    puts "========="
  end
end
read_full_length_hash_file(file) click to toggle source
# File lib/rails/generators/google/rspec/templates/full_hash_parse_spec.rb, line 7
def read_full_length_hash_file file
  resp = File.read(file, :encoding => 'ASCII-8BIT')
end
read_shavar_download_file(file) click to toggle source
# File lib/rails/generators/google/rspec/templates/shavar_encode_data_parse_spec.rb, line 7
def read_shavar_download_file file
  resp = File.read(file, :encoding => 'ASCII-8BIT')
end