Module: Materialist::MaterializedRecord

Defined in:
lib/materialist/materialized_record.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/materialist/materialized_record.rb', line 6

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#sourceObject



30
31
32
# File 'lib/materialist/materialized_record.rb', line 30

def source
  source_raw.body
end