Class: Redmine::Scm::Adapters::Revisions
- Defined in:
- lib/redmine/scm/adapters/abstract_adapter.rb
Overview
Instance Method Summary collapse
Methods included from Diffable
#diff, #patch, #replacenextlarger, #reverse_hash
Instance Method Details
#latest ⇒ Object
353 354 355 356 357 358 359 360 361 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 353 def latest sort {|x,y| unless x.time.nil? or y.time.nil? x.time <=> y.time else 0 end }.last end |