Class: Tension::Asset

Inherits:
Object
  • Object
show all
Defined in:
lib/tension/environment.rb

Instance Method Summary collapse

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_pathObject



96
97
98
# File 'lib/tension/environment.rb', line 96

def logical_path
  @attributes[:logical_path]
end