Class: ROM::Firebase::MapperCompiler
- Inherits:
-
MapperCompiler
- Object
- MapperCompiler
- ROM::Firebase::MapperCompiler
- Defined in:
- lib/rom/firebase/mapper_compiler.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ MapperCompiler
constructor
A new instance of MapperCompiler.
Constructor Details
#initialize(*args) ⇒ MapperCompiler
Returns a new instance of MapperCompiler.
7 8 9 10 11 12 13 |
# File 'lib/rom/firebase/mapper_compiler.rb', line 7 def initialize(*args) super cache = Cache.new @struct_compiler = StructCompiler.new(cache: cache) @cache = cache.namespaced(:mappers) @mapper_options = self.class. end |