lib/diet.rb in diet-0.0.14 vs lib/diet.rb in diet-0.0.15

- old
+ new

@@ -1,17 +1,7 @@ require 'emitter' module BrighterPlanet module Diet extend BrighterPlanet::Emitter - - def self.diet_model - if Object.const_defined? 'Diet' - ::Diet - elsif Object.const_defined? 'DietRecord' - DietRecord - else - raise 'There is no diet model' - end - end end end