Module: DeltaCore
- Defined in:
- lib/delta_core.rb,
lib/delta_core/dsl.rb,
lib/delta_core/context.rb,
lib/delta_core/mapping.rb,
lib/delta_core/version.rb,
lib/delta_core/snapshot.rb,
lib/delta_core/comparator.rb,
lib/delta_core/delta_result.rb,
lib/delta_core/adapters/base.rb,
lib/delta_core/configuration.rb,
lib/delta_core/renderer/base.rb,
lib/delta_core/state_builder.rb,
lib/delta_core/strategies/base.rb,
lib/delta_core/strategies/merge.rb,
lib/delta_core/strategies/replace.rb,
lib/delta_core/strategies/quantity.rb,
lib/delta_core/adapters/active_record.rb
Defined Under Namespace
Modules: Adapters, DSL, Renderer, Strategies Classes: Comparator, Configuration, Context, DeltaResult, EmptyDeltaError, Error, Mapping, Snapshot, StateBuilder
Constant Summary collapse
- Model =
DSL- VERSION =
"1.0.0"
Class Attribute Summary collapse
-
.strategy_registry ⇒ Object
readonly
Returns the value of attribute strategy_registry.
Class Method Summary collapse
Class Attribute Details
.strategy_registry ⇒ Object (readonly)
Returns the value of attribute strategy_registry.
29 30 31 |
# File 'lib/delta_core.rb', line 29 def strategy_registry @strategy_registry end |
Class Method Details
.register_mapping_extension(callable) ⇒ Object
35 36 37 |
# File 'lib/delta_core.rb', line 35 def register_mapping_extension(callable) StateBuilder.extensions << callable end |
.register_strategy(name, klass) ⇒ Object
31 32 33 |
# File 'lib/delta_core.rb', line 31 def register_strategy(name, klass) @strategy_registry[name.to_sym] = klass end |