Sha256: cd2412fb21c795cb57a638cdc1a922d85b3685653a7a0eee4dc0adf6b2430545

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

module Palimpsest

  # Model site object used by {Environment#site}.
  class Site

    # @!attribute name
    #   @return [String] name for this site
    #
    # @!attribute repo
    #   @return [Grit::Repo] grit repo for this site
    #
    # @!attribute source
    #   @return [String] path to source code for this site
    attr_accessor :name, :repo, :source, :path

    def initialize name: '', repo: nil, source: ''
      self.name = name
      self.repo = repo
      self.source = source
      self.path = path
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
palimpsest-0.2.0 lib/palimpsest/site.rb
palimpsest-0.1.1 lib/palimpsest/site.rb
palimpsest-0.1.0 lib/palimpsest/site.rb