10th Apr 2018, 12:08 PM
Kasdallah Yasser
Kasdallah Yasser - avatar
7 odpowiedzi
+ 1
Should be: p=Students.new("mark",76) p.passorno() end
10th Apr 2018, 12:19 PM
Emma
+ 2
You called passorno with arguments, but in your definition passorno has no arguments. I think you mean to call initialize("mark", 76)
10th Apr 2018, 12:20 PM
Zeke Williams
Zeke Williams - avatar
+ 1
yes
10th Apr 2018, 1:53 PM
Kasdallah Yasser
Kasdallah Yasser - avatar
+ 1
it work now thank you alote it's my first program with classes next time i will try modules i addet user output too
10th Apr 2018, 2:00 PM
Kasdallah Yasser
Kasdallah Yasser - avatar
+ 1
Well done :-) You're doing great.
10th Apr 2018, 2:02 PM
Emma
+ 1
IT's my first 10 days ever in coding i feel like i realy create somthing it's like making a baby hhh
10th Apr 2018, 2:06 PM
Kasdallah Yasser
Kasdallah Yasser - avatar
+ 1
Definitely lol. It's a very creative endeavour ☺
10th Apr 2018, 2:08 PM
Emma