Module: Jekyll::SiteWriter
- Defined in:
- lib/jekyll/site_writer.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/jekyll/site_writer.rb', line 7 def self.included(base) base.class_eval do # List of files to commit # # @return [Set] def staged_files @staged_files ||= Set.new end # Access the Git repository # # @return [Jekyll::Repository] def repository @repository ||= Jekyll::Repository.new(self) end end end |