Displaying 1 result from an estimated 1 matches for "understandingrubi".
Did you mean:
understandingruby
2007 Apr 28
3
Learning ruby question
I''m having trouble understanding Ruby''s concept of scope. Could
someone explain the difference between the following 2 programs.
They both return the same output "aaaaaaaa", but I''m just not sure
about self in #1. Is self.day and self.title referring to and setting
class variables or are they instance variables? Thanks in advance.
# 1.
class Session