blob: 2b845810256cc715f86f1924bfbe8f43b22d5ba5 (
plain) (
tree)
|
|
module Rails
module Generators
class HelperGenerator < NamedBase
check_class_collision :suffix => "Helper"
def create_helper_files
template 'helper.rb', File.join('app/helpers', class_path, "#{file_name}_helper.rb")
end
invoke_for :test_framework
end
end
end
|