module Jekyll::SiteWriter

Public Class Methods

included(base) click to toggle source
   # File lib/jekyll/site_writer.rb
 7 def self.included(base)
 8   base.class_eval do
 9     # List of files to commit
10     #
11     # @return [Set]
12     def staged_files
13       @staged_files ||= Set.new
14     end
15 
16     # Access the Git repository
17     #
18     # @return [Jekyll::Repository]
19     def repository
20       @repository ||= Jekyll::Repository.new(self)
21     end
22   end
23 end

Public Instance Methods

repository() click to toggle source

Access the Git repository

@return [Jekyll::Repository]

   # File lib/jekyll/site_writer.rb
19 def repository
20   @repository ||= Jekyll::Repository.new(self)
21 end
staged_files() click to toggle source

List of files to commit

@return [Set]

   # File lib/jekyll/site_writer.rb
12 def staged_files
13   @staged_files ||= Set.new
14 end