Permalink
Browse files

Merge pull request #13 from wstrinz/patch-1

Fix logic in README example
  • Loading branch information...
2 parents 691d00a + 9a34ac8 commit 50669c95f93013df6576c86e32ea9aeffd8a548e @pzol committed Jan 6, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -278,7 +278,7 @@ def validate(person)
age = age_expr.to_i
case
when age <= 0; Failure('Age must be > 0')
- when age > 130; Failure('Age must be < 130')
+ when age >= 130; Failure('Age must be < 130')
else Success(age)
end
}

0 comments on commit 50669c9

Please sign in to comment.