instance method
template_files_from_dir
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18 PrivateSignature
template_files_from_dir(dir)
get all the template filenames from the dir
Parameters
-
dirreq
Source
# File actionpack/lib/action_view/reloadable_template.rb, line 71
def template_files_from_dir(dir)
Dir.glob(File.join(dir, '*'))
end
Defined in actionpack/lib/action_view/reloadable_template.rb line 71
· View on GitHub
· Improve this page
· Find usages on GitHub