# File lib/flukso/database.rb, line 125 def helper_yield_results(querystatement, block) @db.execute(querystatement) {|row| value=row['VALUE'].to_f; #timestamp=Time.at(row['EPOCHTIME'].to_f); timestamp=row['EPOCHTIME'].to_f; #puts "Creating new UTCReading: #{timestamp}, #{value}" reading=UTCReading.new(timestamp, value); block.call(reading); } end