Sha256: 59a87e6fc457610152cd61a411e583eb8ad121e3f20309010cfcb4817f703a73

Contents?: true

Size: 597 Bytes

Versions: 7

Compression:

Stored size: 597 Bytes

Contents

module MoonwalkAir
  class << self
    def app_name
      CONFIG["app_name"]
    end

    def root
      @@moon_root ||= MOON_ROOT
    end

    def config
      File.expand_path("#{root}/config")
    end
    
    def bin
      File.expand_path("#{root}/bin")
    end

    def tmp
      File.expand_path("#{root}/tmp")
    end

    def air_sdk
      CONFIG["air_sdk"]
    end

    def air_lib
      File.expand_path("#{air_sdk}/lib")
    end

    def air_bin
      File.expand_path("#{air_sdk}/bin")
    end

    def air_frameworks
      File.expand_path("#{air_sdk}/frameworks")
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
moonwalkair-0.4.1 lib/initializer.rb
moonwalkair-0.4.0 lib/initializer.rb
moonwalkair-0.3.2 lib/initializer.rb
moonwalkair-0.3.1 lib/initializer.rb
moonwalkair-0.3.0 lib/initializer.rb
moonwalkair-0.2.0 lib/initializer.rb
moonwalkair-0.1.0 lib/initializer.rb