Sha256: 7b9cdc6b6fa997e7bbf9f28fb457d0af820029158c2e049629f8b34fee1a9396
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
require "merb-gen/helpers" require "merb-gen/base" class MerbPluginGenerator < Merb::GeneratorBase def initialize(args, runtime_options = {}) @base = File.dirname(__FILE__) @name = args.first super @destination_root = @name end protected def banner <<-EOS.split("\n").map{|x| x.strip}.join("\n") Creates a Merb plugin stub. USAGE: #{spec.name} --generate-plugin path" EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-gen-0.9.2 | app_generators/merb_plugin/merb_plugin_generator.rb |
merb-gen-0.9.3 | app_generators/merb_plugin/merb_plugin_generator.rb |