with_modules (Merb::Generators::Generator)

    # File lib/merb-gen/generator.rb, line 56
          def with_modules(modules, options={}, &block)
            indent = options[:indent] || 0
            text = capture(&block)
            modules.each_with_index do |mod, i|
              concat(("  " * (indent + i)) + "module #{mod}\n", block.binding)
            end
            text = text.to_a.map{ |line| ("  " * modules.size) + line }.join
            concat(text, block.binding)
            modules.reverse.each_with_index do |mod, i|
              concat(("  " * (indent + modules.size - i - 1)) + "end # #{mod}\n", block.binding)
            end
          end