class Middleman::Templates::Smacss

SMACSS

Public Class Methods

source_root() click to toggle source

Template files are relative to this file @return [String]

# File lib/middleman-more/templates/smacss.rb, line 15
def self.source_root
  File.dirname(__FILE__)
end

Public Instance Methods

build_scaffold!() click to toggle source

Output the files @return [void]

# File lib/middleman-more/templates/smacss.rb, line 21
def build_scaffold!
  template 'shared/config.tt', File.join(location, 'config.rb')
  directory 'smacss/source', File.join(location, 'source')
  empty_directory File.join(location, 'source')
end