Class: Blacksmith::CSSForge

Inherits:
Object
  • Object
show all
Defined in:
lib/blacksmith/css_forge.rb

Class Method Summary collapse

Class Method Details

.execute(font) ⇒ Object



3
4
5
6
7
# File 'lib/blacksmith/css_forge.rb', line 3

def execute(font)
  File.open(font.css_path, 'w+') do |file|
    file.write(stylesheet_template.result(binding))
  end
end