Sha256: fe0ab2e43d2c5731db2c9fef6f24012928cacd78fc97b730908f3f919060d63a

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

class Gator
  class Paths

    def self.gator_home
      File.join(Thor::Util.user_home, ".gator").gsub(/\\/, '/')
      end

    def self.env_file
      File.join gator_home, "environment.rb"
    end

    def self.project_home
      Gator::ProjectFileLocator.new.find_project_dir
    end

    def self.project_file
      Gator::ProjectFileLocator.new.find_project_file
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gator-0.0.25.pre lib/gator/core/io/paths.rb
gator-0.0.24.pre lib/gator/core/io/paths.rb
gator-0.0.23.pre lib/gator/core/io/paths.rb
gator-0.0.22.pre lib/gator/core/io/paths.rb