class Dpl::Assets::Asset
Constants
- DIR
Public Instance Methods
Source
# File lib/dpl/helper/assets.rb, line 12 def copy(target) cp path, File.expand_path(target) end
Source
# File lib/dpl/helper/assets.rb, line 16 def read exists? ? provider.interpolate(File.read(path)) : unknown end
Source
# File lib/dpl/helper/assets.rb, line 24 def unknown raise "Could not find asset #{path}" end