# File lib/aws/dynamo_db/item_collection.rb, line 212 def [] hash_value table.assert_schema! raise(ArgumentError, "table has a range key; use #at instead of #[]") unless table.simple_key? Item.new(table, hash_value) end