Class: Watchcat::DataChange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind) ⇒ DataChange



148
149
150
# File 'lib/watchcat/kind.rb', line 148

def initialize(kind)
  @kind = kind
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



146
147
148
# File 'lib/watchcat/kind.rb', line 146

def kind
  @kind
end

Instance Method Details

#content?Boolean



156
157
158
# File 'lib/watchcat/kind.rb', line 156

def content?
  @kind == "content"
end

#size?Boolean



152
153
154
# File 'lib/watchcat/kind.rb', line 152

def size?
  @kind == "size"
end