# File lib/aws/dynamo_db/item_collection.rb, line 554 def select *attributes, &block options = {} options = attributes.pop if attributes.last.kind_of?(Hash) options = options.merge(:item_data => true) options[:attributes_to_get] = attributes.map { |att| att.to_s } unless attributes.empty? if block_given? each(options, &block) else enumerator(options) end end