Module: ActionAgent::Compatibility::ConstMissing
- Defined in:
- lib/action_agent/compatibility.rb
Instance Method Summary collapse
Instance Method Details
#const_missing(name) ⇒ Object
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/action_agent/compatibility.rb', line 37 def const_missing(name) replacement = RENAMED[name.to_s] return super unless replacement ActionAgent.deprecator.warn( "ActiveAgent::#{name} has moved to #{replacement}. " \ "The dashboard is now the actionagent gem; update your references." ) replacement.constantize end |