Class: StaticRails::ServerStore
- Inherits:
-
Object
- Object
- StaticRails::ServerStore
- Defined in:
- lib/static-rails/server_store.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.instance ⇒ Object
5 6 7 |
# File 'lib/static-rails/server_store.rb', line 5 def self.instance @instance ||= new end |
Instance Method Details
#ensure_all_servers_are_started ⇒ Object
9 10 11 12 13 |
# File 'lib/static-rails/server_store.rb', line 9 def ensure_all_servers_are_started StaticRails.config.sites.select(&:start_server).each do |site| server_for(site).start end end |