lib/ronin/network/pop3.rb in ronin-0.2.4 vs lib/ronin/network/pop3.rb in ronin-0.3.0
- old
+ new
@@ -1,9 +1,7 @@
#
-#--
-# Ronin - A Ruby platform designed for information security and data
-# exploration tasks.
+# Ronin - A Ruby platform for exploit development and security research.
#
# Copyright (c) 2006-2009 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,11 +14,10 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#++
#
require 'ronin/network/extensions/pop3'
module Ronin
@@ -28,17 +25,21 @@
module POP3
# Default pop3 port
DEFAULT_PORT = 110
#
- # Returns the default Ronin POP3 port.
+ # @return [Integer]
+ # The default Ronin POP3 port.
#
def POP3.default_port
@@pop3_default_port ||= DEFAULT_PORT
end
#
- # Sets the default Ronin POP3 port to the specified _port_.
+ # Sets the default Ronin POP3 port.
+ #
+ # @param [Integer] port
+ # The new default Ronin POP3 port.
#
def POP3.default_port=(port)
@@pop3_default_port = port
end
end