Method: Contact#initialize
- Defined in:
- lib/contact.rb
#initialize(fname, lname, email, phone, mobile, im, pager, title = nil, organization = nil, location = nil, note = nil) ⇒ Contact
Returns a new instance of Contact.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/contact.rb', line 137 def initialize (fname, lname, email, phone, mobile, im, pager, title=nil, organization=nil, location=nil, note=nil) #fnamelname have to be uniq @firstname=fname @lastname=lname @email=email @phone=phone @mobile=mobile @im=im @pager=pager @title=title @organization=organization @location=location @note=note @nb_use=0 end |