Module: RedisClient::HasConfig
- Included in:
- Error
- Defined in:
- lib/redis_client.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
81 82 83 |
# File 'lib/redis_client.rb', line 81 def config @config end |
Instance Method Details
#_set_config(config) ⇒ Object
83 84 85 |
# File 'lib/redis_client.rb', line 83 def _set_config(config) @config = config end |
#message ⇒ Object
87 88 89 90 91 |
# File 'lib/redis_client.rb', line 87 def return super unless config&.resolved? "#{super} (#{config.server_url})" end |