class Bemonrails::Generators::InstallGenerator

Public Instance Methods

initializers() click to toggle source
# File lib/bem-on-rails/generators/install_generator.rb, line 9
def initializers
    template "config/initializer.tt.rb", File.join(Rails.root, "config", "initializers", "bem.rb")
end
tasks() click to toggle source
# File lib/bem-on-rails/generators/install_generator.rb, line 13
def tasks
    template "thor/bem.tt.rb", File.join(Rails.root, "lib", "tasks", "bem.thor")
end
templates() click to toggle source
# File lib/bem-on-rails/generators/install_generator.rb, line 17
def templates
    %w(haml.tt coffee.tt md.tt sass.tt).each do |t|
        copy_file "techs/#{t}", File.join(Rails.root, "lib", "tasks", "templates", t)
    end
end