Sha256: 5e409bac7fe7e5387f7f51662a3eb53ad29bd3eaac92d74d2cddd68e6a692f69
Contents?: true
Size: 290 Bytes
Versions: 6
Compression:
Stored size: 290 Bytes
Contents
# Generic OpenStruct, with occured_at automatically set to the initialization time. class Observation < OpenStruct def initialize(*args) @occured_at = Time.now super end # Need to know when the observation was recorded to batch observations attr_accessor :occured_at end
Version data entries
6 entries across 6 versions & 1 rubygems