Sha256: 0b4a003a81c28c750e4901b52b0b54e9177ba4ed3a8af291193a30f83d3d858e
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_generator-2.4.0 | lib/generators/rails/helper_generator.rb |
active_generator-2.3.1 | lib/generators/rails/helper_generator.rb |