Class: Watchcat::CreateKind
- Inherits:
-
Object
- Object
- Watchcat::CreateKind
- 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.
64 65 66 |
# File 'lib/watchcat/kind.rb', line 64 def kind @kind end |
Instance Method Details
#file? ⇒ Boolean
66 67 68 |
# File 'lib/watchcat/kind.rb', line 66 def file? @kind == "file" end |
#folder? ⇒ Boolean
70 71 72 |
# File 'lib/watchcat/kind.rb', line 70 def folder? @kind == "folder" end |