J
Jim
Here's some example code. In method_b, what is the difference in
calling method_a and self.method_a?
class HoHo
def method_a
puts "Hello, HoHo"
end
def method_b
method_a
self.method_a
end
end
hoho = HoHo.new
hoho.method_b
calling method_a and self.method_a?
class HoHo
def method_a
puts "Hello, HoHo"
end
def method_b
method_a
self.method_a
end
end
hoho = HoHo.new
hoho.method_b