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.
56 57 58 |
# File 'lib/watchcat/kind.rb', line 56 def kind @kind end |
Instance Method Details
#file? ⇒ Boolean
58 59 60 |
# File 'lib/watchcat/kind.rb', line 58 def file? @kind == "file" end |
#folder? ⇒ Boolean
62 63 64 |
# File 'lib/watchcat/kind.rb', line 62 def folder? @kind == "folder" end |