Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

One liner 3. Added current local time return value. #24

Merged
merged 1 commit into from

2 participants

@dewolfe
Collaborator

My one liner commit. I added a call to Time.zone.now to the current_time method.

@M7
Owner
M7 commented

Looks good to me! Thanks for the commit Dominic. :)

@M7 M7 merged commit 425d518 into ottawaruby:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 18, 2012
  1. One liner 3. Added current local time return value.

    Dominic DeWolfe authored
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.