Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

docs

  • Loading branch information...
commit f89e44f306e85d7d89c7a79e929412cac7baab66 1 parent 52cc614
@kachick authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.rdoc
  2. +1 −1  example/example.rb
View
2  README.rdoc
@@ -26,7 +26,7 @@ Set constant values for each instance.
end
def age
- (Time.now - val(:birthday)) / (60 * 60 * 24 * 365)
+ (Time.now - birthday) / (60 * 60 * 24 * 365)
end
end
View
2  example/example.rb
@@ -12,7 +12,7 @@ def initialize(birthday)
end
def age
- (Time.now - val(:birthday)) / (60 * 60 * 24 * 365)
+ (Time.now - birthday) / (60 * 60 * 24 * 365)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.