module Stenotype::Frameworks::Rails::ActionControllerExtension

An ActionController extension to be injected into classes inheriting from [ActionController::Base]

Private Instance Methods

_record_freshly_event(name) click to toggle source

Emits and event with given data @param name {[String, Symbol]} Event name @todo What is really the name here?

# File lib/stenotype/frameworks/rails/action_controller.rb, line 26
def _record_freshly_event(name)
  Stenotype::Event.emit!(name, { type: "controller_action" }, { eval_context: { controller: self }})
end