class AWS::Record::LengthValidator

def too_short min, got

def too_short min, got
  msg = options[:too_short] || 
    "is too short (minimum is %{minimum} characters)"
  interpolate(msg, :minimum => min, :length => got)
end