Sha256: 66dc878ac47c0a6ce1bb1981a4cefd96280c676fdc1d0ce39b99e058ecc6a416

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

class HackTreeGenerator < Rails::Generators::Base   #:nodoc:
  source_root File.expand_path("../templates", __FILE__)

  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

2 entries across 2 versions & 1 rubygems

Version Path
hack_tree-0.1.2 lib/generators/hack_tree/hack_tree_generator.rb
hack_tree-0.1.1 lib/generators/hack_tree/hack_tree_generator.rb