Sha256: 920449c2262e23384f4d0ec438861d5effaa450512cd0ea7ccbe53bada5f52b1
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
module Troles::Macros class Configuration class StorageLoader < BaseLoader def initialize strategy, orm super end def storage_class begin "#{orm_namespace}::Storage::#{strategy.to_s.camelize}".constantize rescue # use generic if no ORM specific strategy found! "#{namespace}::Storage::#{strategy.to_s.camelize}".constantize end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems