Class: Browsable::AssetResolver::Result
- Inherits:
-
Data
- Object
- Data
- Browsable::AssetResolver::Result
- Defined in:
- lib/browsable/asset_resolver.rb
Overview
The strategy used to resolve a given URL, exposed for diagnostics.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#strategy ⇒ Object
readonly
Returns the value of attribute strategy.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
17 18 19 |
# File 'lib/browsable/asset_resolver.rb', line 17 def path @path end |
#strategy ⇒ Object (readonly)
Returns the value of attribute strategy
17 18 19 |
# File 'lib/browsable/asset_resolver.rb', line 17 def strategy @strategy end |
Instance Method Details
#resolved? ⇒ Boolean
18 |
# File 'lib/browsable/asset_resolver.rb', line 18 def resolved? = !path.nil? |