method
templates_in_path
v2.2.1 -
Show latest stable
- Class:
ActionView::PathSet::Path
templates_in_path()private
No documentation available.
# File actionpack/lib/action_view/paths.rb, line 99
def templates_in_path
(Dir.glob("#{@path}/**/*/**") | Dir.glob("#{@path}/**")).each do |file|
unless File.directory?(file)
yield Template.new(file.split("#{self}/").last, self)
end
end
end