Method: RoadForest::Authorization::GrantsHolder#group

Defined in:
lib/roadforest/authorization/grants-holder.rb

#group(list, sep, replace) ⇒ Object



32
33
34
# File 'lib/roadforest/authorization/grants-holder.rb', line 32

def group(list, sep, replace)
  list.map{|part| part.to_s.gsub(sep, replace)}.join(sep)
end