Class: Synco::DirectoryScope

Inherits:
TargetScope show all
Defined in:
lib/synco/scope.rb

Instance Attribute Summary collapse

Attributes inherited from TargetScope

#target_server

Attributes inherited from ScriptScope

#current_server, #group, #logger, #master_server, #script

Instance Method Summary collapse

Methods inherited from TargetScope

#run

Methods inherited from ScriptScope

#call, #method

Constructor Details

#initialize(sync_scope, directory) ⇒ DirectoryScope

Returns a new instance of DirectoryScope.



239
240
241
242
243
# File 'lib/synco/scope.rb', line 239

def initialize(sync_scope, directory)
	super(sync_scope)
	
	@directory = directory
end

Instance Attribute Details

#directoryObject (readonly)

Returns the value of attribute directory.



245
246
247
# File 'lib/synco/scope.rb', line 245

def directory
  @directory
end