Sha256: 998086c81a6cb45bbfa549adee7381b0b0dd5981e783e9789bbfc8612dbe0b69
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
require 'rails/generators/rails/helper/helper_generator' require 'generators/rails/base' module Rails module Generators class HelperGenerator include Rails::Base def generate_locale_file invoke('locale:helper', [name]) if configuration.autoload_helper_generator_locale end def generate_test_file framework = configuration.test_framework return if framework.nil? invoke("#{framework}:helper", [name]) rescue nil end end end end
Version data entries
6 entries across 6 versions & 1 rubygems