module Saper
  module Arguments
    class URL < Argument
      
      #
      # TODO: docs
      #
      def valid?(value)
        Addressable::URI.parse(string.to_s).absolute?
      rescue Addressable::URI::InvalidURIError
        false
      end
    
    end
  end
end