Class: LightRedisCache::Configuration
- Inherits:
-
Object
- Object
- LightRedisCache::Configuration
- Defined in:
- lib/light_redis_cache/configuration.rb
Instance Attribute Summary collapse
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/light_redis_cache/configuration.rb', line 6 def initialize @hostname = nil @port = nil end |
Instance Attribute Details
#hostname ⇒ Object
Returns the value of attribute hostname.
3 4 5 |
# File 'lib/light_redis_cache/configuration.rb', line 3 def hostname @hostname end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/light_redis_cache/configuration.rb', line 4 def port @port end |