Class: Synco::DirectoryScope
- Inherits:
-
TargetScope
- Object
- ScriptScope
- TargetScope
- Synco::DirectoryScope
- Defined in:
- lib/synco/scope.rb
Instance Attribute Summary collapse
-
#directory ⇒ Object
readonly
Returns the value of attribute directory.
Attributes inherited from TargetScope
Attributes inherited from ScriptScope
#current_server, #group, #logger, #master_server, #script
Instance Method Summary collapse
-
#initialize(sync_scope, directory) ⇒ DirectoryScope
constructor
A new instance of DirectoryScope.
Methods inherited from TargetScope
Methods inherited from ScriptScope
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
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
245 246 247 |
# File 'lib/synco/scope.rb', line 245 def directory @directory end |