module Shoulda
  module Matchers
    module ActiveModel
      def require_a_valid_host_name(attribute = :host_name)
        RequireAValidHostNameMatcher.new(attribute)