Class: Watchcat::RemoveKind
- Inherits:
-
Object
- Object
- Watchcat::RemoveKind
- Defined in:
- lib/watchcat/kind.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Instance Method Summary collapse
Instance Attribute Details
#kind ⇒ Object
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
95 96 97 |
# File 'lib/watchcat/kind.rb', line 95 def file? @kind == "file" end |
#folder? ⇒ Boolean
99 100 101 |
# File 'lib/watchcat/kind.rb', line 99 def folder? @kind == "folder" end |