Sha256: ac1120631d1249aa9b910264895b7a846a1c281f5f34ed4aec995af64e4d9f4f
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
# # Create a link from inpath to outpath # class LinkedImageStrategy attr_reader :name def initialize( name ) @name = name end def build( inpath, outpath ) return if File.exist?( outpath ) ralbum_verbose( 1, "link " ) File.symlink( inpath, outpath ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gf-ralbum-0.0.5 | lib/ralbum/image_strategies/linked_image_strategy.rb |