Created
January 14, 2011 15:31
-
-
Save amrnt/779736 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
class Animal | |
def initialize(اسم) | |
@اسم = اسم | |
end | |
def اكتب_اسم_الحيوان | |
puts @اسم | |
end | |
end | |
بسه = Animal.new("Lucy") | |
بسه.اكتب_اسم_الحيوان |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment