Sha256: 20b1c75d8d1ca933f56d746286f6fcc2716a07d7e283afcddc640518074ba7ea

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

module MotionPrime
  def self.env
    ENV['PRIME_ENV'] || ENV['RUBYMOTION_ENV'] || 'development'
  end

  def self.root
    File.expand_path File.dirname(__FILE__) + '/../'
  end
end
::Prime = MotionPrime unless defined?(::Prime)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
motion-prime-0.5.0 files/app/environment.rb
motion-prime-0.4.5 files/app/environment.rb
motion-prime-0.4.4 files/app/environment.rb