APIdock / Ruby on Rails
/
Browse About
method

file_path

v4.1.8 - Show latest stable - Class: Rails::Generators::NamedBase
file_path()
protected

No documentation available.

# File railties/lib/rails/generators/named_base.rb, line 77
        def file_path
          @file_path ||= (class_path + [file_name]).join('/')
        end

Related methods

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

© 2026 APIdock