Module: DockerRailsProxy::Rsync

Included in:
Base
Defined in:
lib/docker_rails_proxy/concerns/rsync.rb

Defined Under Namespace

Modules: ClassMethods Classes: Sync

Class Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Class Attribute Details

.exclusionsObject

Returns the value of attribute exclusions.



4
5
6
# File 'lib/docker_rails_proxy/concerns/rsync.rb', line 4

def exclusions
  @exclusions
end

.exclusions_from_container_to_hostObject

Returns the value of attribute exclusions_from_container_to_host.



4
5
6
# File 'lib/docker_rails_proxy/concerns/rsync.rb', line 4

def exclusions_from_container_to_host
  @exclusions_from_container_to_host
end

.exclusions_from_host_to_containerObject

Returns the value of attribute exclusions_from_host_to_container.



4
5
6
# File 'lib/docker_rails_proxy/concerns/rsync.rb', line 4

def exclusions_from_host_to_container
  @exclusions_from_host_to_container
end

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/docker_rails_proxy/concerns/rsync.rb', line 8

def included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#sync(source:, reverse: false, silent: false) ⇒ Object



30
31
32
# File 'lib/docker_rails_proxy/concerns/rsync.rb', line 30

def sync(source:, reverse: false, silent: false)
  _rsync.sync source: source, reverse: reverse, silent: silent
end