Class: Charted::Experiment

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) ⇒ Experiment

Returns a new instance of Experiment.



156
157
158
159
# File 'lib/charted/model.rb', line 156

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