Sha256: 537a888c3f43ae39215322eb1529f52e226740a3e3d329b85c1c8eeae070fe83

Contents?: true

Size: 310 Bytes

Versions: 161

Compression:

Stored size: 310 Bytes

Contents

module Rails
  module Generators
    class HelperGenerator < NamedBase # :nodoc:
      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

Version data entries

161 entries across 156 versions & 12 rubygems

Version Path
solidus_backend-1.0.0.pre2 vendor/bundle/gems/railties-4.2.3/lib/rails/generators/rails/helper/helper_generator.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/railties-4.2.2/lib/rails/generators/rails/helper/helper_generator.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/railties-4.2.1/lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.3 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.12 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.3.rc1 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.12.rc1 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.2 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.11 lib/rails/generators/rails/helper/helper_generator.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.10 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.1 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.10.rc4 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.1.rc4 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.10.rc3 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.1.rc3 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.10.rc2 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.1.rc2 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.1.10.rc1 lib/rails/generators/rails/helper/helper_generator.rb
railties-4.2.1.rc1 lib/rails/generators/rails/helper/helper_generator.rb