Class: Tension::Asset
- Inherits:
-
Object
- Object
- Tension::Asset
- Defined in:
- lib/tension/environment.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Asset
constructor
A new instance of Asset.
- #logical_path ⇒ Object
Constructor Details
#initialize(attributes) ⇒ Asset
Returns a new instance of Asset.
92 93 94 |
# File 'lib/tension/environment.rb', line 92 def initialize(attributes) @attributes = attributes end |
Instance Method Details
#logical_path ⇒ Object
96 97 98 |
# File 'lib/tension/environment.rb', line 96 def logical_path @attributes[:logical_path] end |