Class: Watchcat::RemoveKind

Inherits:
Object
  • Object
show all
Defined in:
lib/watchcat/kind.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



93
94
95
# File 'lib/watchcat/kind.rb', line 93

def kind
  @kind
end

Instance Method Details

#file?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/watchcat/kind.rb', line 95

def file?
  @kind == "file"
end

#folder?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/watchcat/kind.rb', line 99

def folder?
  @kind == "folder"
end