class Tumugi::Plugin::FileSystemTarget

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 10
def initialize(path)
  @path = path
end

Public Instance Methods

exist?() click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 21
def exist?
  fs.exist?(@path)
end
fs() click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 14
def fs
  raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end
open(mode="r") click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 18
def open(mode="r")
end
remove() click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 25
def remove
  fs.remove(@path)
end
to_s() click to toggle source
# File lib/tumugi/plugin/file_system_target.rb, line 29
def to_s
  path
end