Class: Hobix::Search::Simple::Contents
- Defined in:
- lib/hobix/search/simple.rb
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#latest_mtime ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/hobix/search/simple.rb', line 8 def latest_mtime latest_mtime = Time.at(0) each do |item| if(item.mtime > latest_mtime) latest_mtime = item.mtime end end end |