Sha256: 59b95c8f5e6d5da750ccf7b71e284061def6ea6057ab29a0e29c0c5d75635e28

Contents?: true

Size: 472 Bytes

Versions: 6

Compression:

Stored size: 472 Bytes

Contents

module MotionPrime
  def self.class_factory_cache
    @class_factory_cache ||= {}
  end

  def self.camelize_factory_cache
    @camelize_factory_cache ||= {}
  end

  def self.low_camelize_factory_cache
    @low_camelize_factory_cache ||= {}
  end

  def self.env
    @env ||= MotionPrime::Env.new
  end

  def self.logger
    @logger ||= MotionPrime::Logger.new
  end

  def self.logger=(value)
    @logger = value
  end
end
::Prime = MotionPrime unless defined?(::Prime)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
motion-prime-1.0.0 motion-prime/prime.rb
motion-prime-0.9.9.2 motion-prime/prime.rb
motion-prime-0.9.9.1 motion-prime/prime.rb
motion-prime-0.9.9 motion-prime/prime.rb
motion-prime-0.9.8 motion-prime/prime.rb
motion-prime-0.9.7 motion-prime/prime.rb