Class: SyntaxCssGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/syntax_css_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_syntax_cssObject



4
5
6
7
8
9
# File 'lib/generators/syntax_css_generator.rb', line 4

def install_syntax_css
  Uv.themes.each do |theme|
    fullpath = File.join(Uv.path, "render", "xhtml", "files", "css", "#{theme}.css")
    copy_file(fullpath, "public/stylesheets/syntax/#{theme}.css")
  end
end