Sha256: a6dfd22365d5a89e1e8825f4dd48ac846c2d4050009a7fe02509a2aea4de8d2b
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
require 'rails/generators' class PoemGenerator < Rails::Generators::Base desc "Read poetry, dude!" def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end def poem template "poetry/raven.txt" template "app/assets/javascripts/whatever.js" end def poem2 template "poetry/raven.txt" template "app/assets/javascripts/whatever.js" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lorin_production_ready-0.1.0 | lib/generators/lorin_production_ready/poem_generator.rb |