class Interactor::Generators::ContextGenerator

Public Instance Methods

create_context() click to toggle source
# File lib/rails/generators/interactor/context_generator.rb, line 15
def create_context
  template 'context.erb', active_interactor_file(suffix: 'context')
end
generate_application_context() click to toggle source
# File lib/rails/generators/interactor/context_generator.rb, line 11
def generate_application_context
  generate :'active_interactor:application_context'
end