Permalink
Browse files

More debuggery statements

  • Loading branch information...
1 parent 178affb commit a6e89251870b1d3cbd7c087df5ab7217cee8b2dd Colin Shea committed Apr 28, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/chronic/repeaters/repeater_hour.rb
@@ -44,7 +44,8 @@ def this(pointer = :future)
def offset(span, amount, pointer)
direction = pointer == :future ? 1 : -1
- (span || 0) + direction * amount * HOUR_SECONDS
+ p [span, amount, pointer] if Chronic.debug
+ span + direction * amount * HOUR_SECONDS
end
def width

0 comments on commit a6e8925

Please sign in to comment.