Sha256: eb5aec7214239cb15bc5661fcf8f5cd823aae9dd2cfaad667b7008693ad2c306
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
module BrighterPlanet module Emitter def included(base) emitter_klass = self.to_s.split('::').last require 'cohort_scope' require 'falls_back_on' require 'falls_back_on/active_record_ext' require "#{emitter_klass.underscore}/carbon_model" require "#{emitter_klass.underscore}/characterization" require "#{emitter_klass.underscore}/data" require "#{emitter_klass.underscore}/summarization" base.send :include, const_get('CarbonModel') base.send :include, const_get('Characterization') base.send :include, const_get('Data') base.send :include, const_get('Summarization') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emitter-0.0.1 | lib/emitter.rb |