Class: Sourcerer::SourceType::Dir

Inherits:
Sourcerer::SourceType show all
Defined in:
lib/sourcerer/source_types/dir.rb

Instance Attribute Summary

Attributes inherited from Sourcerer::SourceType

#destination, #source

Instance Method Summary collapse

Methods inherited from Sourcerer::SourceType

#files, #initialize

Constructor Details

This class inherits a constructor from Sourcerer::SourceType

Instance Method Details

#moveObject


2
3
4
# File 'lib/sourcerer/source_types/dir.rb', line 2

def move
  FileUtils.cp_r "#{@source}/.", @destination
end