class Middleman::Ratchet::Template
Public Class Methods
source_root()
click to toggle source
# File lib/middleman-ratchet/template.rb, line 17 def self.source_root File.join(File.dirname(__FILE__), 'template') end
Public Instance Methods
build_scaffold()
click to toggle source
# File lib/middleman-ratchet/template.rb, line 21 def build_scaffold template 'shared/config.tt', File.join(location, 'config.rb') directory 'source', File.join(location, 'source') empty_directory File.join(location, 'source', options[:css_dir]) empty_directory File.join(location, 'source', options[:js_dir]) empty_directory File.join(location, 'source', options[:images_dir]) end