You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this error during tests in an unrelated project:
/usr/local/rvm/gems/ruby-2.3.0/gems/ipaddress-0.8.3/lib/ipaddress/ipv6.rb:437: warning: method redefined; discarding old link_local?
/usr/local/rvm/gems/ruby-2.3.0/gems/ipaddress-0.8.3/lib/ipaddress/ipv6.rb:405: warning: previous definition of link_local? was here
Seems link_local? is defined twice in lib/ipaddress/ipv6.rb
## Checks if an IPv6 address objects belongs# to a link-local network RFC4291## Example:## ip = IPAddress "fe80::1"# ip.link_local?# #=> true#deflink_local?[self.class.new("fe80::/64")].any?{|i| i.include?self}end
The text was updated successfully, but these errors were encountered:
@sandstrom@icy-arctic-fox I have also detected this and had planned to fix it in a PR, but which of the two methods is the correct one to make it stay?
Noticed this error during tests in an unrelated project:
Seems
link_local?
is defined twice inlib/ipaddress/ipv6.rb
https://github.com/ipaddress-gem/ipaddress/blob/master/lib/ipaddress/ipv6.rb#L405
https://github.com/ipaddress-gem/ipaddress/blob/master/lib/ipaddress/ipv6.rb#L437
The text was updated successfully, but these errors were encountered: