# File lib/tapkit/access/adapters/csv.rb, line 457 def read( entity ) rows = [] path = path entity if FileTest.exist? path then str = nil @filelock.shared_lock(path, 'r') do |f| str = f.read end reader = CSV::Reader.create(str) reader.each do |row| rows << row.to_a end end rows end