Class: Benoit::CurrentSite

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/benoit/current_site.rb

Class Method Summary collapse

Class Method Details

.loadObject



5
6
7
8
# File 'lib/benoit/current_site.rb', line 5

def self.load
  context_hash = ::SiteContextConverter.export
  new(Benoit::SiteContext.from_hash(context_hash))
end