# File lib/aws/simple_db.rb, line 194 def self.consistent_reads state = true, &block begin prev_state = Thread.current['_simple_db_consistent_reads_'] Thread.current['_simple_db_consistent_reads_'] = state yield ensure Thread.current['_simple_db_consistent_reads_'] = prev_state end end