class Trackerific::Event
Provides details for a tracking event
Public Instance Methods
to_s()
click to toggle source
@example Get a human-readable string from an event
event = details.event.to_s
@return [String] converts the event into a string @api public
# File lib/trackerific/event.rb, line 9 def to_s [ date.strftime('%b %d %I:%M %P'), description, location ].join(" ") end