Sha256: 463a934d693b6d4c89c05abc1ce71d847b8b0e9e9a0003a16c7f52f2f1659f01
Contents?: true
Size: 1.33 KB
Versions: 4
Compression:
Stored size: 1.33 KB
Contents
# # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com) # # This file is part of Ronin Support. # # Ronin Support is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ronin Support is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>. # require 'ronin/network/extensions/pop3' module Ronin module Network # # Global settings for accessing POP3. # module POP3 # Default POP3 port DEFAULT_PORT = 110 # # @return [Integer] # The default Ronin POP3 port. # def POP3.default_port @default_port ||= DEFAULT_PORT end # # Sets the default Ronin POP3 port. # # @param [Integer] port # The new default Ronin POP3 port. # def POP3.default_port=(port) @default_port = port end end end end
Version data entries
4 entries across 4 versions & 1 rubygems