aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/metal/metal_generator.rb
blob: d814b6c38bc83314f194213119e22ce0bfce2b56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module Rails
  module Generators
    class MetalGenerator < NamedBase
      check_class_collision

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