Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #24 from dewolfe/3-my-one-liner
Browse files Browse the repository at this point in the history
One liner 3. Added current local time return value.
  • Loading branch information
M7 committed Jun 19, 2012
2 parents 873e12f + 0888275 commit 425d518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whenbot/trigger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module ClassMethods

# Use this when setting :last_matched value
def current_time
# ==== One-liner 11
Time.zone.now
end

end
Expand Down

0 comments on commit 425d518

Please sign in to comment.