Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 10 lines (9 sloc) 0.147 kb
5198cd6 @txus first commit
authored
1 class Person
2 def walk(distance)
3 @distance += distance
4 @hunger += 2
5 end
6
7 def eat(food)
8 @hunger -= food.nutritional_value
9 end
10 end
Something went wrong with that request. Please try again.