Skip to content
This repository
tree: bac0826b1f
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (11 sloc) 0.303 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
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

      hook_for :test_framework
    end
  end
end
Something went wrong with that request. Please try again.