Skip to content

Instantly share code, notes, and snippets.

@myabc
Created February 7, 2009 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myabc/60094 to your computer and use it in GitHub Desktop.
Save myabc/60094 to your computer and use it in GitHub Desktop.
class Animal
#accessor :sex
#attr_reader :sex
#attr_writer :sex
def initialize
end
def sex
@sex
end
def sex=(sex)
@sex=sex
end
end
tiger = Animal.new
tiger.sex = male
print tiger.sex
dog = Animal.new
dog.sex = female
@joparis85
Copy link

good

@joparis85
Copy link

what download sex vidoe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment