aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/metal/metal_generator.rb
blob: fe4f945cad5d1d1a7a935467536f33f1119e297a (plain) (tree)
1
2
3
4
5
6
7
8
9


                                    
                           
 
                           

                                                        
       

     
module Rails
  module Generators
    class MetalGenerator < NamedBase
      check_class_collision

      def create_metal_file
        template "metal.rb", "app/metal/#{file_name}.rb"
      end
    end
  end
end