Sha256: 40317a4929519121bd6a0f95a03b84dd266647d63bcd0a8f4dcf46f1c2e7c742

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

class Gator
  class Project
    include Gator::ActAsConfiguration

    attr_accessor :name, :layout

    def initialize
      @name = ""
      @layout = Layout.default
    end

    def path(*args)
      File.join( ProjectFileLocator.new.find_project_dir, layout.expand(*args) )
    end

    def template_roots
      @template_roots ||= []
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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