Class: S3AssetDeploy::RailsLocalAsset

Inherits:
LocalAsset
  • Object
show all
Defined in:
lib/s3_asset_deploy/rails_local_asset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LocalAsset

#==, #initialize, #mime_type, #original_path, #to_s

Constructor Details

This class inherits a constructor from S3AssetDeploy::LocalAsset

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



6
7
8
# File 'lib/s3_asset_deploy/rails_local_asset.rb', line 6

def path
  @path
end

Instance Method Details

#full_pathObject



8
9
10
# File 'lib/s3_asset_deploy/rails_local_asset.rb', line 8

def full_path
  File.join(public_path, path)
end