Sha256: 787b91e07575c8d2c2f8c161368400e7f34be9bcc0d16ffb09510d0a066cde95
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
require_relative './materializer/internals' module Materialist module Materializer def self.included(base) base.extend(Internals::ClassMethods) base.extend(Internals::DSL) root_mapping = [] base.instance_variable_set(:@__materialist_options, { mapping: root_mapping, links_to_materialize: {} }) base.instance_variable_set(:@__materialist_dsl_mapping_stack, [root_mapping]) end end end
Version data entries
11 entries across 11 versions & 1 rubygems