Class: RbHost

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_burp/rb_host.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip, host) ⇒ RbHost

Returns a new instance of RbHost.



4
5
6
7
# File 'lib/ruby_burp/rb_host.rb', line 4

def initialize(ip, host)
  self.ip = ip
  self.host = host
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



2
3
4
# File 'lib/ruby_burp/rb_host.rb', line 2

def host
  @host
end

#ipObject

Returns the value of attribute ip.



2
3
4
# File 'lib/ruby_burp/rb_host.rb', line 2

def ip
  @ip
end