Permalink
Browse files

Merge branch 'master' of https://github.com/sagmor/ruby-ole into sagmor

  • Loading branch information...
2 parents 4255dbe + 88cd0a7 commit 5dca9fac4c8ca28874091d3f9d22aa3567a8d2ea @aquasync committed Aug 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ole/types/base.rb
@@ -76,7 +76,7 @@ def self.new year, month, day, hour=0, min=0, sec=0, usec=0
# see issue #4.
msg = respond_to?(:new!) ? :new! : :new0
send msg, jd + fr - 0.5, 0, ITALY
- end
+ end if respond_to?(:new!) || respond_to?(:new0)
def self.from_time time
new(*(time.to_a[0, 6].reverse + [time.usec]))

0 comments on commit 5dca9fa

Please sign in to comment.