Sha256: ccdbe5f16bbf3be683c091921e53ab6556ee171d408d12071e4da5e273dfd887
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
module <%= config[:gem_class] %> class UpgradeGenerator < Rails::Generators::Base source_root File.join(File.dirname(__FILE__), "..", "templates") desc "Upgrades previously installed <%= config[:gem_class] %> resources." def execute # TODO - Add your fancy/schmancy upgrade code here. end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-0.4.0 | lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp |