gitlabhq/app/helpers/graph_helper.rb

6 lines
109 B
Ruby
Raw Normal View History

module GraphHelper
def join_with_space(ary)
ary.collect{|r|r.name}.join(" ") unless ary.nil?
end
end