Wednesday, May 21, 2014

Rspec Instance Methods & Class Methods

http://www.railstips.org/blog/archives/2009/05/11/class-and-instance-methods-in-ruby/
 instance methods are methods that are called on an instance of a class

Instance methods are denoted  by the # symbol in front of the method #to_s

http://ruby-doc.com/docs/ProgrammingRuby/

No comments:

Post a Comment