class AWS::Record::LengthValidator

def too_long max, got

def too_long max, got
  msg = options[:too_long] ||
    "is too long (maximum is %{maximum} characters)"
  interpolate(msg, :maximum => max, :length => got)
end