Class: Rfix::File::Deleted

Inherits:
Base
  • Object
show all
Defined in:
lib/rfix/file/deleted.rb

Constant Summary collapse

ID =
"[D]".color(:red).freeze

Constants inherited from Base

Base::DELETED, Base::IGNORED, Base::TRACKED, Base::UNTRACKED

Instance Method Summary collapse

Methods inherited from Base

#contains?, #exists?, #inspect, #key, #lines, #to_table

Methods included from Log

prompt, say, say!

Instance Method Details

#deleted?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/rfix/file/deleted.rb', line 10

def deleted?
  true
end

#include?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/rfix/file/deleted.rb', line 14

def include?(*)
  false
end