# File lib/capistrano/task_definition.rb, line 60 def brief_description(max_length=nil) brief = description[/^.*?\.(?=\s|$)/] || description if max_length && brief.length > max_length brief = brief[0,max_length-3] + "..." end brief end