Class: Superhosting::ConfigExecutor::Site
- Defined in:
- lib/superhosting/config_executor/site.rb
Instance Attribute Summary collapse
-
#site ⇒ Object
Returns the value of attribute site.
Attributes inherited from Container
#container, #mux, #mux_name, #registry_files
Attributes inherited from Base
#commands, #docker_api, #etc, #lib, #model
Instance Method Summary collapse
-
#initialize(site:, **kwargs) ⇒ Site
constructor
A new instance of Site.
Methods inherited from Container
#config, #mkdir, #on_reconfig, #run_commands
Methods inherited from Base
Methods included from Helpers
Methods included from Helper::Config
#_config, #_config_options, #_save_registry!, #apply, #configure, #configure_with_apply, #reconfig, #unapply, #unconfigure, #unconfigure_with_unapply
Methods included from Helper::Cmd
#_command, #_command_without_debug, #command, #command!
Methods included from Helper::File
#chmod!, #chown!, #chown_r!, #safe_link!, #safe_unlink!
Methods included from Helper::Logger
#__debug, #__dry_run, #__dry_run=, #__logger, #__logger=, #debug, #debug_block, #debug_operation, #indent, #indent=, #indent_reset, #indent_step, #indent_step_back, #info, #storage, #t, #with_dry_run, #with_indent, #with_logger
Constructor Details
#initialize(site:, **kwargs) ⇒ Site
Returns a new instance of Site.
6 7 8 9 |
# File 'lib/superhosting/config_executor/site.rb', line 6 def initialize(site:, **kwargs) self.site = site super(**kwargs) end |
Instance Attribute Details
#site ⇒ Object
Returns the value of attribute site.
4 5 6 |
# File 'lib/superhosting/config_executor/site.rb', line 4 def site @site end |