Class: Pipeline::FileSystemMounter
Instance Attribute Summary
Attributes inherited from BaseMounter
#description, #errors, #name, #trigger
Instance Method Summary
collapse
Methods inherited from BaseMounter
#error
Constructor Details
6
7
8
9
10
11
|
# File 'lib/pipeline/mounters/filesystem_mounter.rb', line 6
def initialize trigger, options
super(trigger)
@options = options
@name = "FileSystem"
@description = "Mount a file via normal file system commands."
end
|
Instance Method Details
#mount(target) ⇒ Object
13
14
15
|
# File 'lib/pipeline/mounters/filesystem_mounter.rb', line 13
def mount target
return target
end
|
#supports?(target) ⇒ Boolean
17
18
19
|
# File 'lib/pipeline/mounters/filesystem_mounter.rb', line 17
def supports? target
File.directory? target
end
|