Class: RubyPitaya::InitializerContent
- Inherits:
-
Object
- Object
- RubyPitaya::InitializerContent
- Defined in:
- lib/rubypitaya/core/initializer_content.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#log ⇒ Object
readonly
Returns the value of attribute log.
-
#mongo ⇒ Object
readonly
Returns the value of attribute mongo.
-
#redis ⇒ Object
readonly
Returns the value of attribute redis.
-
#setup ⇒ Object
readonly
Returns the value of attribute setup.
Instance Method Summary collapse
-
#initialize(log, redis, mongo, setup, config) ⇒ InitializerContent
constructor
A new instance of InitializerContent.
Constructor Details
#initialize(log, redis, mongo, setup, config) ⇒ InitializerContent
Returns a new instance of InitializerContent.
7 8 9 10 11 12 13 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 7 def initialize(log, redis, mongo, setup, config) @log = log @mongo = mongo @redis = redis @setup = setup @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
5 6 7 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 5 def config @config end |
#log ⇒ Object (readonly)
Returns the value of attribute log.
5 6 7 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 5 def log @log end |
#mongo ⇒ Object (readonly)
Returns the value of attribute mongo.
5 6 7 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 5 def mongo @mongo end |
#redis ⇒ Object (readonly)
Returns the value of attribute redis.
5 6 7 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 5 def redis @redis end |
#setup ⇒ Object (readonly)
Returns the value of attribute setup.
5 6 7 |
# File 'lib/rubypitaya/core/initializer_content.rb', line 5 def setup @setup end |