Class: Watchcat::ModifyKind
- Inherits:
-
Object
- Object
- Watchcat::ModifyKind
- Extended by:
- Forwardable
- Defined in:
- lib/watchcat/kind.rb
Instance Attribute Summary collapse
-
#data_change ⇒ Object
Returns the value of attribute data_change.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#rename ⇒ Object
Returns the value of attribute rename.
Instance Method Summary collapse
- #data_change? ⇒ Boolean
-
#initialize ⇒ ModifyKind
constructor
A new instance of ModifyKind.
- #metadata? ⇒ Boolean
- #rename? ⇒ Boolean
Constructor Details
#initialize ⇒ ModifyKind
Returns a new instance of ModifyKind.
75 76 77 |
# File 'lib/watchcat/kind.rb', line 75 def initialize @kind, @data_change, @metadata, @rename = nil, nil, nil, nil end |
Instance Attribute Details
#data_change ⇒ Object
Returns the value of attribute data_change.
70 71 72 |
# File 'lib/watchcat/kind.rb', line 70 def data_change @data_change end |
#kind ⇒ Object
Returns the value of attribute kind.
70 71 72 |
# File 'lib/watchcat/kind.rb', line 70 def kind @kind end |
#metadata ⇒ Object
Returns the value of attribute metadata.
70 71 72 |
# File 'lib/watchcat/kind.rb', line 70 def @metadata end |
#rename ⇒ Object
Returns the value of attribute rename.
70 71 72 |
# File 'lib/watchcat/kind.rb', line 70 def rename @rename end |
Instance Method Details
#data_change? ⇒ Boolean
79 80 81 |
# File 'lib/watchcat/kind.rb', line 79 def data_change? @kind == "data_change" end |
#metadata? ⇒ Boolean
83 84 85 |
# File 'lib/watchcat/kind.rb', line 83 def @kind == "metadata" end |
#rename? ⇒ Boolean
87 88 89 |
# File 'lib/watchcat/kind.rb', line 87 def rename? @kind == "rename" end |