lib/boom/list.rb in boom-0.2.4 vs lib/boom/list.rb in boom-0.3.0

- old
+ new

@@ -79,10 +79,10 @@ # Public: finds an Item by name. If the name is typically truncated, also # allow a search based on that truncated name. # # name - String name of the Item to find # - # Returns the found item + # Returns the found item. def find_item(name) items.find do |item| item.name == name || item.short_name.gsub('…','') == name.gsub('…','') end