Method: ActiveInteractor::Interactor::Context::ClassMethods#context_class
- Defined in:
- lib/active_interactor/interactor/context.rb
#context_class ⇒ Const
Get the interactor class' context class. If no class is found or no class is set via the #contextualize_with method a new class is created.
190 191 192 |
# File 'lib/active_interactor/interactor/context.rb', line 190 def context_class @context_class ||= ActiveInteractor::Context::Loader.find_or_create(self) end |