Sha256: 1e5e33dce412a955884ceff474238c9dda9610ff76625988c59d0284a0d15cf5

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

require 'fileutils'

module JekyllSort
  class PrevNext
    def create
      src = File.expand_path("../template/_includes/prev_next.md", File.dirname(__FILE__))
      dest = "_includes/prev_next.md"
      FileUtils.mkdir_p(File.dirname(dest))
      FileUtils.cp(src, dest)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-sort-0.3.1 lib/jekyll_sort/prev_next.rb
jekyll-sort-0.3.0 lib/jekyll_sort/prev_next.rb
jekyll-sort-0.2.0 lib/jekyll_sort/prev_next.rb
jekyll-sort-0.1.0 lib/jekyll_sort/prev_next.rb