class Aws::DynamoDB::AttributeValue::Marshaler
def format_set(set)
def format_set(set) return { es: [] } if set.empty? case set.first when String, Symbol then { ss: set.map(&:to_s) } when STRINGY_TEST then { ss: set.map(&:to_str) } when Numeric then { ns: set.map(&:to_s) } when StringIO, IO then { bs: set.to_a } else msg = "set types only support String, Numeric, or IO objects" raise ArgumentError, msg end end