Exception: Familia::NotConnected

Inherits:
Problem
  • Object
show all
Defined in:
lib/familia.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ NotConnected



142
143
144
# File 'lib/familia.rb', line 142

def initialize uri
  @uri = uri
end

Instance Attribute Details

#uriObject (readonly)

Returns the value of attribute uri.



141
142
143
# File 'lib/familia.rb', line 141

def uri
  @uri
end

Instance Method Details

#messageObject



145
146
147
# File 'lib/familia.rb', line 145

def message
  "No client for #{uri.serverid}"
end