Sha256: e017c1836bb495b864c3cae729dbf71e2ec20cda951a59b31ecea17c199087ea
Contents?: true
Size: 383 Bytes
Versions: 2
Compression:
Stored size: 383 Bytes
Contents
require 'emitter' module BrighterPlanet module AutomobileTrip extend BrighterPlanet::Emitter def self.automobile_trip_model if Object.const_defined? 'AutomobileTrip' ::AutomobileTrip elsif Object.const_defined? 'AutomobileTripRecord' AutomobileTripRecord else raise 'There is no automobile trip model' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
automobile_trip-0.0.2 | lib/automobile_trip.rb |
automobile_trip-0.0.1 | lib/automobile_trip.rb |