Module: Tyrion::Storage

Defined in:
lib/tyrion/storage.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



3
4
5
6
7
# File 'lib/tyrion/storage.rb', line 3

def self.included(receiver)
  receiver.extend ClassMethods

  receiver.reload unless receiver == Tyrion::Document
end