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, #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.
204 205 206 207 208 |
# File 'lib/synco/scope.rb', line 204 def initialize(sync_scope, directory) super(sync_scope) @directory = directory end |
Instance Attribute Details
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
210 211 212 |
# File 'lib/synco/scope.rb', line 210 def directory @directory end |