wycats / merb-plugins

Merb Plugins: Even more modules to hook up your Merb installation

This URL has Read+Write access

merb-plugins / merb_stories / rspec_generators / merb_story_setup / merb_story_setup_generator.rb
100644 20 lines (14 sloc) 0.303 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class MerbStorySetupGenerator < Merb::GeneratorBase
  
  def initialize(runtime_args, runtime_options = {})
    @base = File.dirname(__FILE__)
    super
  end
  
  def manifest
    record do |m|
      @m = m
      
      @assigns = {}
      
      copy_dirs
      copy_files
      
    end
  end
  
end