Class: Charted::Event
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Charted::Event
- Includes:
- HasVisitor
- Defined in:
- lib/charted/model.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Event
constructor
A new instance of Event.
Methods included from HasVisitor
Constructor Details
#initialize(*args) ⇒ Event
Returns a new instance of Event.
134 135 136 137 |
# File 'lib/charted/model.rb', line 134 def initialize(*args) super self.created_at ||= DateTime.now end |