Permalink
Browse files

Merge pull request #24 from dewolfe/3-my-one-liner

One liner 3. Added current local time return value.
  • Loading branch information...
2 parents 873e12f + 0888275 commit 425d518d4de14232d9c029f7394fd309f836c1a3 @M7 M7 committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 425d518

Please sign in to comment.