Module: Superhosting::ConfigExecutor
- Defined in:
- lib/superhosting/config_executor.rb,
lib/superhosting/config_executor/base.rb,
lib/superhosting/config_executor/site.rb,
lib/superhosting/config_executor/container.rb
Defined Under Namespace
Classes: Base, Container, Site
Class Method Summary collapse
Class Method Details
.new(**kwargs) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/superhosting/config_executor.rb', line 3 def self.new(**kwargs) klass = if kwargs[:site].nil? Container else Site end klass.new(kwargs) end |