Class: DVRB::Base
- Inherits:
-
Object
- Object
- DVRB::Base
- Defined in:
- lib/dvrb/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(host, port) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(host, port) ⇒ Base
Returns a new instance of Base.
4 5 6 7 |
# File 'lib/dvrb/base.rb', line 4 def initialize(host, port) @host = host @port = port end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
2 3 4 |
# File 'lib/dvrb/base.rb', line 2 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
2 3 4 |
# File 'lib/dvrb/base.rb', line 2 def port @port end |