Class: Dichotomy::Extensions::Defaults::Strategies::PreCreationStrategy
- Inherits:
-
Object
- Object
- Dichotomy::Extensions::Defaults::Strategies::PreCreationStrategy
- Defined in:
- lib/dichotomy/extensions/defaults/strategies/pre_creation_strategy.rb
Instance Method Summary collapse
Instance Method Details
#post_build_up(build_context) ⇒ Object
16 17 18 |
# File 'lib/dichotomy/extensions/defaults/strategies/pre_creation_strategy.rb', line 16 def post_build_up(build_context) end |
#pre_build_up(build_context) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/dichotomy/extensions/defaults/strategies/pre_creation_strategy.rb', line 8 def pre_build_up(build_context) original_type = build_context.original_type class_reflector = Reflectors::ClassReflector.new build_context.built_type = class_reflector.create_rapport(original_type) end |