blob: f8833ecec35d774e78c3a447a30503620f4e7659 (
plain) (
tree)
|
|
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
|