Class: Record
- Inherits:
-
Object
- Object
- Record
- Defined in:
- service/records/records.rb
Overview
History Record Model class
Instance Method Summary collapse
-
#mod(st) ⇒ Object
Modifies state by just replacing :state with state from Record.
-
#sortable ⇒ Object
Record is sortable itself, so just returns itself.
-
#sorter ⇒ Object
(also: #ts)
Returns sorter key needed for Timeline.
Instance Method Details
#mod(st) ⇒ Object
Modifies state by just replacing :state with state from Record
39 40 41 |
# File 'service/records/records.rb', line 39 def mod st st[:state] = state end |
#sortable ⇒ Object
Record is sortable itself, so just returns itself
28 29 30 |
# File 'service/records/records.rb', line 28 def sortable self end |
#sorter ⇒ Object Also known as: ts
Returns sorter key needed for Timeline
33 34 35 |
# File 'service/records/records.rb', line 33 def sorter time end |