APIdock / Ruby on Rails
/
Browse About
method

inside_template

v5.0.0.1 - Show latest stable - Class: Rails::Generators::NamedBase
inside_template()
protected

No documentation available.

# File railties/lib/rails/generators/named_base.rb, line 62
        def inside_template
          @inside_template = true
          yield
        ensure
          @inside_template = false
        end

Related methods

  • Instance methods
  • js_template
  • template
  • Class methods
  • new
  • Protected methods
  • protectedcheck_class_collision
  • protectedapplication_name
  • protectedassign_names!
  • protectedattributes_names
  • protectedclass_name
  • protectedclass_path
  • protectededit_helper
  • protectedfile_path
  • protectedfixture_file_name
  • protectedhuman_name
  • protectedi18n_scope
  • protectedindent
  • protectedindex_helper
  • protectedinside_template
  • protectedinside_template?
  • protectedmodule_namespacing
  • protectedmountable_engine?
  • protectednamespace
  • protectednamespaced?
  • protectednamespaced_class_path
  • protectednamespaced_file_path
  • protectednamespaced_path
  • protectednew_helper
  • protectedparse_attributes!
  • protectedplural_file_name
  • protectedplural_name
  • protectedplural_table_name
  • protectedpluralize_table_names?
  • protectedregular_class_path
  • protectedroute_url
  • protectedshow_helper
  • protectedsingular_name
  • protectedsingular_table_name
  • protectedtable_name
  • protecteduncountable?
  • protectedurl_helper_prefix
  • protectedwrap_with_namespace
APIdock API Documentation Browser

© 2026 APIdock