class Pipeline::FileSystemMounter

Public Class Methods

new(trigger, options) click to toggle source
Calls superclass method Pipeline::BaseMounter::new
# 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

Public Instance Methods

mount(target) click to toggle source
# File lib/pipeline/mounters/filesystem_mounter.rb, line 13
def mount target
  return target
end
supports?(target) click to toggle source
# File lib/pipeline/mounters/filesystem_mounter.rb, line 17
def supports? target
  File.directory? target
end