Method: Berkshelf::Source#latest

Defined in:
lib/berkshelf/source.rb

#latest(name) ⇒ APIClient::RemoteCookbook

Parameters:

Returns:



134
135
136
# File 'lib/berkshelf/source.rb', line 134

def latest(name)
  versions(name).max
end