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.
89 90 91 |
# File 'lib/redis_client.rb', line 89 def config @config end |
Instance Method Details
#_set_config(config) ⇒ Object
91 92 93 |
# File 'lib/redis_client.rb', line 91 def _set_config(config) @config = config end |
#message ⇒ Object
95 96 97 98 99 |
# File 'lib/redis_client.rb', line 95 def return super unless config&.resolved? "#{super} (#{config.server_url})" end |