instance method
application_lib_index
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
application_lib_index()
No documentation comment.
Source
# File railties/lib/rails/plugin/loader.rb, line 147
def application_lib_index
$LOAD_PATH.index(File.join(RAILS_ROOT, 'lib')) || 0
end
Defined in railties/lib/rails/plugin/loader.rb line 147
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Plugin::Loader