Class: Charted::Conversion

Inherits:
Sequel::Model
  • Object
show all
Includes:
Endable, HasVisitor
Defined in:
lib/charted/model.rb

Instance Method Summary collapse

Methods included from Endable

#end!, #ended?

Methods included from HasVisitor

#site

Constructor Details

#initialize(*args) ⇒ Conversion

Returns a new instance of Conversion.



145
146
147
148
# File 'lib/charted/model.rb', line 145

def initialize(*args)
  super
  self.created_at ||= DateTime.now
end