Sha256: 6ff6f56e0214fe00ee7979d8ba5aa26adfd78702fea303920fbe13bd5736e69d

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

#
# Copy an image from inpath to outpath
#
class CopyImageStrategy
  attr_reader :name

  def initialize( name )
    @name = name
  end

  def build( inpath, outpath )
    FileUtils.cp( 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/copy_image_strategy.rb