Sha256: 06b5b86b437593a2f63f48b75d233272e033a42375dbf94738c6ca42dc471846

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

module Gator
  class Project

    attr_reader :name

    def initialize( name )
      @name = name
      @layout = Layout.default
    end

    def path(*args)
      File.join( Gator.base_dir, layout.expand(*args) )
    end

    def layout
      @layout
    end

    def layout=( l )
      @layout = l
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gator-0.0.4.pre lib/core/project/project.rb