summaryrefslogtreecommitdiff
path: root/sample/biorhythm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/biorhythm.rb')
-rw-r--r--sample/biorhythm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/biorhythm.rb b/sample/biorhythm.rb
index 74e615a289..c7e26c4fff 100644
--- a/sample/biorhythm.rb
+++ b/sample/biorhythm.rb
@@ -59,7 +59,7 @@ def getPosition(z)
end
def parsedate(s)
- ParseDate::parsedate(s).select(0, 1, 2)
+ ParseDate::parsedate(s).values_at(0, 1, 2)
end
def name_of_week(date)