Class: Gem::Writter::Gemspec

Inherits:
Template show all
Defined in:
lib/rab/gem/writer/gemspec.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/gemspec.rb', line 4

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