# File lib/chef/resource/deploy.rb, line 305 def keep_releases(arg=nil) [set_or_return( :keep_releases, arg, :kind_of => [ Integer ]), 1].max end