Class: Rivet::Bootstrap
- Inherits:
-
Object
- Object
- Rivet::Bootstrap
- Defined in:
- lib/rivet/common/bootstrap.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ Bootstrap
constructor
A new instance of Bootstrap.
- #user_data ⇒ Object
Constructor Details
#initialize(config) ⇒ Bootstrap
7 8 9 |
# File 'lib/rivet/common/bootstrap.rb', line 7 def initialize(config) @config = config.bootstrap end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
5 6 7 |
# File 'lib/rivet/common/bootstrap.rb', line 5 def config @config end |
Instance Method Details
#user_data ⇒ Object
11 12 13 |
# File 'lib/rivet/common/bootstrap.rb', line 11 def user_data @user_data ||= generate_user_data end |