instance method template_files_from_dir

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18 Private

Signature

template_files_from_dir(dir)

get all the template filenames from the dir

Parameters

dir req
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

Defined in ActionView::ReloadableTemplate::ReloadablePath

Type at least 2 characters to search.

↑↓ navigate · open · esc close