Sha256: c48a3125c4acbc34a43e423cbd9d6bc655d68b260ccb604382c216e3945cf063
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
class HackTreeGenerator < Rails::Generators::Base #:nodoc: source_root File.join(File.dirname(__FILE__), "templates") def go copy_file (bn = "hack_tree.rb"), "config/initializers/#{bn}" copy_file (bn = "hello.rb"), "lib/hacks/#{bn}" readme "INSTALL" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hack_tree-0.1.0 | lib/generators/hack_tree/hack_tree_generator.rb |