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.



76
77
78
# File 'lib/tension/environment.rb', line 76

def initialize(attributes)
  @attributes = attributes
end

Instance Method Details

#logical_pathObject



80
81
82
# File 'lib/tension/environment.rb', line 80

def logical_path
  @attributes[:logical_path]
end