Module: ActionView::LogSubscriber::Utils
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | actionview/lib/action_view/log_subscriber.rb |
Instance Method Summary
- #logger
- #from_rails_root(string) private
- #rails_root private
Instance Method Details
#from_rails_root(string) (private)
[ GitHub ]# File 'actionview/lib/action_view/log_subscriber.rb', line 63
def from_rails_root(string) string = string.sub(rails_root, "") string.sub!(VIEWS_PATTERN, "") string end
#logger
[ GitHub ]# File 'actionview/lib/action_view/log_subscriber.rb', line 58
def logger ActionView::Base.logger end