[ create a new paste ] login | about

Link: http://codepad.org/mVBLwDtZ    [ raw code | fork ]

Ruby, pasted on May 17:
1
2
3
4
5
6
class Document
  # Most of the class omitted...
  def add_authors( *names )
    @author += " #{names.join(' ')} "
  end
end


Create a new paste based on this one


Comments: