Sha256: ca2550a34d4643ee9ebc83c515a7238abc00ece23787b62b6f1941fb55639122
Contents?: true
Size: 720 Bytes
Versions: 9
Compression:
Stored size: 720 Bytes
Contents
module Jekyll module Golink module Theme # This module will load important utilities for every script. module Utils # # This methods will be used for the next advanced version! # # [Create a 'copyto' folder and put the files inside.] # # def copyto_path # @copyto_path ||= File.join gem_path, 'copyto/.' # end # def gocopy! # copyto_path # FileUtils.cp_r "#{@copyto_path}", "." # end def gem_path @gem_path ||= File.expand_path '../..', File.dirname(__FILE__) end def create_folders (options = []) FileUtils::mkdir_p options end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems