Sha256: 86a0376d8298accf99ce39c5bbae63cfe4d895444551344faa39a316f4576f2f
Contents?: true
Size: 431 Bytes
Versions: 2
Compression:
Stored size: 431 Bytes
Contents
require "merb-gen/helpers" require "merb-gen/base" class MerbFlatGenerator < 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 flat Merb application stub. USAGE: #{spec.name} path --flat" EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-gen-0.9.2 | app_generators/merb_flat/merb_flat_generator.rb |
merb-gen-0.9.3 | app_generators/merb_flat/merb_flat_generator.rb |