Sha256: 620a060e0e1633a6f37a4250f93131da7fd2021b60fc957c878791e740735814
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_generator-5.0.0 | lib/generators/rails/helper_generator.rb |