summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Luong (Franco) <franco@definefunk.com>2016-03-15 23:00:40 -0400
committerFrancis Luong (Franco) <franco@definefunk.com>2016-03-15 23:00:40 -0400
commitdbbc5b291eb0164c53d2573ead0cbfb841e86e89 (patch)
tree13269d09aaaf9115cc5b3ecab387f25d43f5e727
parent064502c6a943f983cabea38fccdb528ad9469aec (diff)
parent2ec6b23000903aade43f11a2849a86fb0ba99396 (diff)
downloadipaddress-dbbc5b291eb0164c53d2573ead0cbfb841e86e89.tar.gz
Merge pull request #74 from vanderhoorn/patch-1
Remove duplicate multicast? method
-rw-r--r--lib/ipaddress/ipv4.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/ipaddress/ipv4.rb b/lib/ipaddress/ipv4.rb
index 7d8e0d3..a123e71 100644
--- a/lib/ipaddress/ipv4.rb
+++ b/lib/ipaddress/ipv4.rb
@@ -636,20 +636,6 @@ module IPAddress;
#
# Checks if an IPv4 address objects belongs
- # to a multicast network RFC3171
- #
- # Example:
- #
- # ip = IPAddress "224.0.0.0/4"
- # ip.multicast?
- # #=> true
- #
- def multicast?
- [self.class.new("224.0.0.0/4")].any? {|i| i.include? self}
- end
-
- #
- # Checks if an IPv4 address objects belongs
# to a loopback network RFC1122
#
# Example: