Permalink
Browse files

More tweaks.

  • Loading branch information...
kenn committed Sep 17, 2012
1 parent b19506e commit f751b0b71e3d8de2bf462a246bc0908f77518ae3
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -31,9 +31,6 @@ end
And now you have a set of methods and constants.
```ruby
-User::GENDERS # => { "female" => 0, "male" => 1 }
-User.genders # => { :female => 0, :male => 1 }
-
user = User.new
user.gender # => :female
user.gender_female? # => true
@@ -42,6 +39,9 @@ user.gender_raw # => 0
user.gender = :male
user.gender_male? # => true
user.gender_raw # => 1
+
+User.genders # => { :female => 0, :male => 1 }
+User::GENDERS # => { "female" => 0, "male" => 1 }
```
## Manual coding

0 comments on commit f751b0b

Please sign in to comment.