Sha256: ade5218a0aaffe51d56a5a3360b07b6eeb3ca9a4a2ee279b6fa3a78bb7f9d618
Contents?: true
Size: 342 Bytes
Versions: 16
Compression:
Stored size: 342 Bytes
Contents
class RunTemplateGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) argument :template_path, :desc => "Path to an application template" def apply_template path = template_path unless path =~ /^https?:\/\// path = File.expand_path(path, Dir.pwd) end apply path end end
Version data entries
16 entries across 16 versions & 3 rubygems