Module: PlantWatchdog::Model::MetadataOwner

Included in:
AbstractMeasurementChunk, Device
Defined in:
lib/plantwatchdog/model.rb

Instance Method Summary collapse

Instance Method Details

#metaObject



165
166
167
# File 'lib/plantwatchdog/model.rb', line 165

def meta
  .description
end

#meta=(array) ⇒ Object



159
160
161
162
163
# File 'lib/plantwatchdog/model.rb', line 159

def meta=(array)
  return if  and .description == array
  self. = Metadata.new
  .description = array
end