Class: DVRB::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dvrb/base.rb

Direct Known Subclasses

Tivo

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hostObject

Returns the value of attribute host.



2
3
4
# File 'lib/dvrb/base.rb', line 2

def host
  @host
end

#portObject

Returns the value of attribute port.



2
3
4
# File 'lib/dvrb/base.rb', line 2

def port
  @port
end