class Rfix::File::Base

Constants

DELETED
IGNORED
TRACKED
UNTRACKED

Public Instance Methods

contains?(file) click to toggle source
# File lib/rfix/file/base.rb, line 61
def contains?(file)
  path == file
end
exists?() click to toggle source
# File lib/rfix/file/base.rb, line 69
def exists?
  false
end
inspect() click to toggle source
# File lib/rfix/file/base.rb, line 65
def inspect
  "<#{self.class.name.demodulize}(#{status.join(', ')}:#{self})>"
end
key() click to toggle source
# File lib/rfix/file/base.rb, line 53
def key
  raise NotImplementedError
end
lines() click to toggle source
# File lib/rfix/file/base.rb, line 57
def lines
  EMPTY_ARRAY
end
to_table() click to toggle source
# File lib/rfix/file/base.rb, line 49
def to_table
  [basename]
end