Method: ActiveRecord::Snapshot::List.last
- Defined in:
- lib/active_record/snapshot/files/list.rb
.last ⇒ Object
29 30 31 32 |
# File 'lib/active_record/snapshot/files/list.rb', line 29 def last version_str, filename = File.open(path, &:readline).split(" ") [version_str.to_i, filename] end |