instance method directory

Ruby on Rails 4.0.13

Since v4.0.13 Last seen in v4.0.13 Private — implementation detail, not part of the public API

Signature

directory()

No documentation comment.

Source
# File actionpack/lib/action_view/dependency_tracker.rb, line 66
        def directory
          name.split("/")[0..-2].join("/")
        end

Defined in actionpack/lib/action_view/dependency_tracker.rb line 66 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::DependencyTracker::ERBTracker

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close