Class: Yoker::Generators::Container::None
- Inherits:
-
Object
- Object
- Yoker::Generators::Container::None
- Defined in:
- lib/yoker/generators/container/none.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#shell ⇒ Object
readonly
Returns the value of attribute shell.
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(config, shell) ⇒ None
constructor
A new instance of None.
Constructor Details
#initialize(config, shell) ⇒ None
Returns a new instance of None.
9 10 11 12 |
# File 'lib/yoker/generators/container/none.rb', line 9 def initialize(config, shell) @config = config @shell = shell end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/yoker/generators/container/none.rb', line 7 def config @config end |
#shell ⇒ Object (readonly)
Returns the value of attribute shell.
7 8 9 |
# File 'lib/yoker/generators/container/none.rb', line 7 def shell @shell end |
Instance Method Details
#generate ⇒ Object
14 15 16 17 18 19 |
# File 'lib/yoker/generators/container/none.rb', line 14 def generate generate_native_setup_instructions generate_database_setup_scripts if needs_database_setup? generate_service_setup_scripts if needs_service_setup? create_development_procfile if needs_procfile? end |