Class: ActionView::Resolver::Path
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionview/lib/action_view/template/resolver.rb |
Overview
Keeps all information about view path and builds virtual path.
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(name, prefix, partial, virtual) ⇒ Path
Class Method Details
.build(name, prefix, partial)
[ GitHub ]Instance Attribute Details
#name (readonly)
[ GitHub ]#partial? (readonly)
Alias for #partial.
# File 'actionview/lib/action_view/template/resolver.rb', line 15
alias_method :partial?, :partial
#prefix (readonly)
[ GitHub ]#virtual (readonly)
[ GitHub ]Instance Method Details
#partial (readonly) Also known as: #partial?
[ GitHub ]#to_s
Alias for #to_str.
# File 'actionview/lib/action_view/template/resolver.rb', line 34
alias :to_s :to_str
#to_str Also known as: #to_s
[ GitHub ]# File 'actionview/lib/action_view/template/resolver.rb', line 31
def to_str @virtual end