summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Luong (Franco) <fluong@fx-mbp-13.local>2016-03-16 00:09:21 -0400
committerFrancis Luong (Franco) <fluong@fx-mbp-13.local>2016-03-16 00:09:21 -0400
commit817b20fda4520e2b5272993aa18d9394178f2d33 (patch)
tree2fb8d9ac9888abb2878bb1108e9be0985a5446ae
parentdb8cf9752ebce08b7abb94c10eca4bf70c425250 (diff)
parentf04db1f70f9888494fc155ca7c06d33f778f9ac0 (diff)
downloadipaddress-817b20fda4520e2b5272993aa18d9394178f2d33.tar.gz
Merge remote-tracking branch 'bluemonk/master' into 70-contributing-md
# Conflicts: # .gitignore
-rw-r--r--.gitignore3
-rw-r--r--Gemfile4
-rw-r--r--lib/ipaddress/ipv4.rb14
3 files changed, 6 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index 9b2dc3e..3627b96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,4 +16,5 @@ server.rb
*.sw?
/tmp/
/_yardoc/
-.idea/ \ No newline at end of file
+.idea/
+
diff --git a/Gemfile b/Gemfile
index b4e2a20..9c886f6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,7 @@
source "https://rubygems.org"
gemspec
+
+group :development do
+ gem 'minitest', '~> 5.8', '>= 5.8.4'
+end
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: