Class: RbHost
- Inherits:
-
Object
- Object
- RbHost
- Defined in:
- lib/ruby_burp/rb_host.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#ip ⇒ Object
Returns the value of attribute ip.
Instance Method Summary collapse
-
#initialize(ip, host) ⇒ RbHost
constructor
A new instance of RbHost.
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
#host ⇒ Object
Returns the value of attribute host.
2 3 4 |
# File 'lib/ruby_burp/rb_host.rb', line 2 def host @host end |
#ip ⇒ Object
Returns the value of attribute ip.
2 3 4 |
# File 'lib/ruby_burp/rb_host.rb', line 2 def ip @ip end |