Class: Redmine::Scm::Adapters::Revisions
- Defined in:
- lib/redmine/scm/adapters/abstract_adapter.rb
Instance Method Summary collapse
Methods included from Redmine::StringArrayDiff::Diffable
#diff, #patch, #replacenextlarger, #reverse_hash
Instance Method Details
#latest ⇒ Object
365 366 367 368 369 370 371 372 373 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 365 def latest sort do |x, y| unless x.time.nil? or y.time.nil? x.time <=> y.time else 0 end end.last end |