Module: RemoteTable::Json

Defined in:
lib/remote_table/json.rb

Instance Method Summary collapse

Instance Method Details

#_eachObject



3
4
5
6
7
8
9
10
11
# File 'lib/remote_table/json.rb', line 3

def _each
  require 'json'
 
  data.each do |row|
    yield row
  end
ensure
  local_copy.cleanup
end