# File lib/aws/dynamo_db/types.rb, line 48 def format_attribute_value(value, context = nil) indicator = type_indicator(value, context) value = case when value == :empty_number_set then [] when indicator == :n then value.to_s when indicator == :ns then value.map(&:to_s) else value end { indicator => value } end