# File lib/aws/record/abstract_base.rb, line 258 def [] attribute_name self.class.attribute_for(attribute_name) do |attribute| type_cast(attribute, @_data[attribute.name]) end end