class LogSimulator::Target
Attributes
name[RW]
port[RW]
target_name[RW]
Public Class Methods
new(name,target_name,port)
click to toggle source
# File lib/resolve.rb, line 10 def initialize(name,target_name,port) @name = name @target_name = target_name @port = port end
Public Instance Methods
==(o)
click to toggle source
# File lib/resolve.rb, line 20 def ==(o) o.class == self.class && o.target_name == @target_name && o.port == @port end
eql?(o)
click to toggle source
# File lib/resolve.rb, line 16 def eql?(o) self == o end
hash()
click to toggle source
# File lib/resolve.rb, line 24 def hash @target_name.hash end