Class: Middleman::Templates::Huge

Inherits:
Base
  • Object
show all
Defined in:
lib/huge-boilerplate-middleman/huge.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



3
4
5
# File 'lib/huge-boilerplate-middleman/huge.rb', line 3

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#build_scaffoldObject



7
8
9
10
# File 'lib/huge-boilerplate-middleman/huge.rb', line 7

def build_scaffold
  directory "huge", location
  empty_directory File.join(location, "source")
end