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.
101 102 103 |
# File 'lib/watchcat/kind.rb', line 101 def kind @kind end |
Instance Method Details
#file? ⇒ Boolean
103 104 105 |
# File 'lib/watchcat/kind.rb', line 103 def file? @kind == "file" end |
#folder? ⇒ Boolean
107 108 109 |
# File 'lib/watchcat/kind.rb', line 107 def folder? @kind == "folder" end |