Class: Watchcat::ModifyKind

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/watchcat/kind.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModifyKind

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_changeObject

Returns the value of attribute data_change.



70
71
72
# File 'lib/watchcat/kind.rb', line 70

def data_change
  @data_change
end

#kindObject

Returns the value of attribute kind.



70
71
72
# File 'lib/watchcat/kind.rb', line 70

def kind
  @kind
end

#metadataObject

Returns the value of attribute metadata.



70
71
72
# File 'lib/watchcat/kind.rb', line 70

def 
  @metadata
end

#renameObject

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

Returns:

  • (Boolean)


79
80
81
# File 'lib/watchcat/kind.rb', line 79

def data_change?
  @kind == "data_change"
end

#metadata?Boolean

Returns:

  • (Boolean)


83
84
85
# File 'lib/watchcat/kind.rb', line 83

def metadata?
  @kind == "metadata"
end

#rename?Boolean

Returns:

  • (Boolean)


87
88
89
# File 'lib/watchcat/kind.rb', line 87

def rename?
  @kind == "rename"
end