Sha256: 836a7a4dd4f55c5c977adf00dea33015989a6e635bd5392df48860929f8b9dda
Contents?: true
Size: 277 Bytes
Versions: 6
Compression:
Stored size: 277 Bytes
Contents
module ContentsCore class ItemDatetime < Item alias_attribute :data, :data_datetime def init self.data = Time.now self end def self.permitted_attributes [ :data_datetime ] end def self.type_name 'datetime' end end end
Version data entries
6 entries across 6 versions & 1 rubygems