module AWS::Record

def self.as_array value

Other tags:
    Private: -

Returns:
  • (Array) - The value cast into an array

Parameters:
  • value (Object) --
def self.as_array value
  case value
  when nil   then []
  when Set   then value.to_a
  when Array then value
  else [value]
  end
end