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.
76 77 78 |
# File 'lib/tension/environment.rb', line 76 def initialize(attributes) @attributes = attributes end |
Instance Method Details
#logical_path ⇒ Object
80 81 82 |
# File 'lib/tension/environment.rb', line 80 def logical_path @attributes[:logical_path] end |