blob: f8833ecec35d774e78c3a447a30503620f4e7659 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module Rails
module Generators
class MetalGenerator < NamedBase
def check_class_collision
class_collisions class_name
end
def create_file
template "metal.rb", "app/metal/#{file_name}.rb"
end
end
end
end
|