method

complex_template

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: Rails::Generator::Commands::Create
complex_template(relative_source, relative_destination, template_options = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails_generator/commands.rb, line 305
        def complex_template(relative_source, relative_destination, template_options = {})
          options = template_options.dup
          options[:assigns] ||= {}
          options[:assigns]['template_for_inclusion'] = render_template_part(template_options)
          template(relative_source, relative_destination, options)
        end
Register or log in to add new notes.