class PhisherPhinder::SimpleIp
Attributes
ip_address[R]
Public Class Methods
new(ip_address:)
click to toggle source
# File lib/phisher_phinder/simple_ip.rb, line 7 def initialize(ip_address:) @ip_address = ip_address end
Public Instance Methods
==(other)
click to toggle source
# File lib/phisher_phinder/simple_ip.rb, line 11 def ==(other) other.is_a?(SimpleIp) && ip_address == other.ip_address end
to_s()
click to toggle source
# File lib/phisher_phinder/simple_ip.rb, line 15 def to_s @ip_address.to_s end