Ruby on Rails
Wednesday, June 27, 2012
hello, i've come across a code like
def password=(pass)
@password = pass
.
.
end
Anyone can please explain to me what is happening in the first line
itself for the def part? the code I saw did not provide anything on it
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment