lib/residence.rb in residence-0.0.11 vs lib/residence.rb in residence-0.0.12
- old
+ new
@@ -1,17 +1,7 @@
require 'emitter'
module BrighterPlanet
module Residence
extend BrighterPlanet::Emitter
-
- def self.residence_model
- if Object.const_defined? 'Residence'
- ::Residence
- elsif Object.const_defined? 'ResidenceRecord'
- ResidenceRecord
- else
- raise 'There is no residence model'
- end
- end
end
end