Class: Datacraft::Context
- Inherits:
-
Object
- Object
- Datacraft::Context
- Defined in:
- lib/datacraft/context.rb
Instance Method Summary collapse
- #consumers ⇒ Object
- #options ⇒ Object
- #post_hooks ⇒ Object
- #pre_hooks ⇒ Object
- #providers ⇒ Object
- #tweakers ⇒ Object
Instance Method Details
#consumers ⇒ Object
7 8 9 |
# File 'lib/datacraft/context.rb', line 7 def consumers @consumers ||= ConsumerRegistry.new end |
#options ⇒ Object
23 24 25 |
# File 'lib/datacraft/context.rb', line 23 def ||= {} end |
#post_hooks ⇒ Object
19 20 21 |
# File 'lib/datacraft/context.rb', line 19 def post_hooks @post_hooks ||= HookRegistry.new end |
#pre_hooks ⇒ Object
15 16 17 |
# File 'lib/datacraft/context.rb', line 15 def pre_hooks @pre_hooks ||= HookRegistry.new end |
#providers ⇒ Object
3 4 5 |
# File 'lib/datacraft/context.rb', line 3 def providers @providers ||= ProviderRegistry.new end |
#tweakers ⇒ Object
11 12 13 |
# File 'lib/datacraft/context.rb', line 11 def tweakers @tweakers ||= TweakerRegistry.new end |