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.



101
102
103
# File 'lib/watchcat/kind.rb', line 101

def kind
  @kind
end

Instance Method Details

#file?Boolean

Returns:

  • (Boolean)


103
104
105
# File 'lib/watchcat/kind.rb', line 103

def file?
  @kind == "file"
end

#folder?Boolean

Returns:

  • (Boolean)


107
108
109
# File 'lib/watchcat/kind.rb', line 107

def folder?
  @kind == "folder"
end