class Timetrack::Transform::UnassociatedEvent
Intermediate event representation before it's been associated with a date
Public Instance Methods
to_event(date)
click to toggle source
# File lib/timetrack/transform.rb, line 25 def to_event(date) Event.new( with( begin: self.begin.to_time(date), end: self.end.to_time(date) ).to_h ) end