Permalink
Browse files

One liner 3. Added current local time return value.

  • Loading branch information...
dewolfe committed Jun 18, 2012
1 parent 873e12f commit 088827582d6e17dfde53d5b4b903773a1cab9c88
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/whenbot/trigger.rb
View
@@ -11,7 +11,7 @@ module ClassMethods
# Use this when setting :last_matched value
def current_time
- # ==== One-liner 11
+ Time.zone.now
end
end

0 comments on commit 0888275

Please sign in to comment.