Exception: Discodactyl::HostMetaSocketError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/discodactyl/host_meta.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, host = nil, port = nil) ⇒ HostMetaSocketError

Returns a new instance of HostMetaSocketError.


40
41
42
43
44
# File 'lib/discodactyl/host_meta.rb', line 40

def initialize(msg = nil, host = nil, port = nil)
  message = msg
  @host = host
  @port = port
end

Instance Attribute Details

#hostObject

Returns the value of attribute host


39
40
41
# File 'lib/discodactyl/host_meta.rb', line 39

def host
  @host
end

#portObject

Returns the value of attribute port


39
40
41
# File 'lib/discodactyl/host_meta.rb', line 39

def port
  @port
end