Module: TreasureData::Logger::Agent::Rails::ModelExtension
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/td/logger/agent/rails/model.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(mod) ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/td/logger/agent/rails/model.rb', line 23 def self.included(mod) im = InstanceMethods cm = ClassMethods mod.class_eval do include im extend cm end end |