Class: ActivityFeed::Event
- Inherits:
-
Struct
- Object
- Struct
- ActivityFeed::Event
- Defined in:
- app/models/activity_feed.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#project ⇒ Object
Returns the value of attribute project.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
Instance Attribute Details
#project ⇒ Object
Returns the value of attribute project
38 39 40 |
# File 'app/models/activity_feed.rb', line 38 def project @project end |
#time ⇒ Object
Returns the value of attribute time
38 39 40 |
# File 'app/models/activity_feed.rb', line 38 def time @time end |
Instance Method Details
#date ⇒ Object
39 40 41 |
# File 'app/models/activity_feed.rb', line 39 def date time.to_date end |