class Bcome::Ssh::ProxyChain

Attributes

hops[R]

Public Class Methods

new(wrangler) click to toggle source
# File lib/objects/ssh/proxy_chain.rb, line 7
def initialize(wrangler)
  @hops = wrangler.hops
end

Public Instance Methods

==(other_chain) click to toggle source
# File lib/objects/ssh/proxy_chain.rb, line 15
def ==(other_chain)
  eql?(other_chain)
end
eql?(other_chain) click to toggle source
# File lib/objects/ssh/proxy_chain.rb, line 11
def eql?(other_chain)
  hops == other_chain.hops
end