Class: Gem::Writter::Rakefile

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

def write(dst)
  rakefile = File.join(dst, "Rakefile")
  write_template("Rakefile.erb", rakefile)
end