Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

One liner 3. Added current local time return value.

  • Loading branch information...
commit 088827582d6e17dfde53d5b4b903773a1cab9c88 1 parent 873e12f
Dominic DeWolfe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/whenbot/trigger.rb
View
2  lib/whenbot/trigger.rb
@@ -11,7 +11,7 @@ module ClassMethods
# Use this when setting :last_matched value
def current_time
- # ==== One-liner 11
+ Time.zone.now
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.