Sha256: 96116f6bb3b3aca2efb993f52ce891317bc24bb79986629b0a0da052bba9b6fa

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 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
    @camelize_factory_cache ||= {}
  end

  def self.env
    ENV['PRIME_ENV'] || ENV['RUBYMOTION_ENV'] || 'development'
  end
end
::MP = MotionPrime unless defined?(::MP)
::Prime = MotionPrime unless defined?(::Prime)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
motion-prime-0.4.5 motion-prime/mp.rb
motion-prime-0.4.4 motion-prime/mp.rb