Class: Gem::Writter::Engine

Inherits:
Template show all
Defined in:
lib/rab/gem/writer/engine.rb

Instance Method Summary collapse

Methods inherited from Template

#initialize

Constructor Details

This class inherits a constructor from Gem::Writter::Template

Instance Method Details

#write(dst) ⇒ Object



4
5
6
7
# File 'lib/rab/gem/writer/engine.rb', line 4

def write(dst)
  engine_file = File.join(dst, "lib", "#{@project.rails_assets_dir_name}.rb")
  write_template("engine.rb.erb", engine_file)
end