Module: ActsAsArchive::Adapters::Sinatra

Defined in:
lib/acts_as_archive/adapters/sinatra.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
9
# File 'lib/acts_as_archive/adapters/sinatra.rb', line 5

def self.included(klass)
  if klass.root
    ActsAsArchive.load_from_yaml(klass.root)
  end
end