Sha256: 59cafbeda87ae7ac52d20a7d51d9dfc33fb5fda14cfc22922aef9b6c019c96a0

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

require "rails/generators/rails/helper/helper_generator"

module Rails
  module Generators
    class HelperGenerator

      def generate_locale_file
        invoke("locale:helper", [name]) if ActiveGenerator.configuration.autoload_helper_generator_locale
      end

      def generate_test_file
        unless ActiveGenerator.configuration.test_framework.nil?
          invoke("#{ActiveGenerator.configuration.test_framework}:helper", [name]) rescue nil
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_generator-3.0.0 lib/generators/rails/helper_generator.rb