method
templates_in_path
v2.3.8 -
Show latest stable
- Class:
ActionView::Template::EagerPath
templates_in_path()private
No documentation available.
# File actionpack/lib/action_view/template.rb, line 85
def templates_in_path
(Dir.glob("#{@path}/**/*/**") | Dir.glob("#{@path}/**")).each do |file|
yield create_template(file) unless File.directory?(file)
end
end