bingxiao / biopieces

Automatically exported from code.google.com/p/biopieces
0 stars 0 forks source link

undefined method `to_time' #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Many functions throw an error like this:

biopieces/code_ruby/Maasha/lib/biopieces.rb:538:in `time_diff': undefined 
method `to_time' for #<DateTime: 106075005269/43200,0,2299161> (NoMethodError)
    from biopieces/code_ruby/Maasha/lib/biopieces.rb:514:in `log'
    from /biopieces/code_ruby/Maasha/lib/biopieces.rb:640
    from /biopieces/code_ruby/Maasha/lib/biopieces.rb:349

Original issue reported on code.google.com by androidp...@gmail.com on 31 Aug 2010 at 8:32

GoogleCodeExporter commented 9 years ago
I suspect that to_time is a function in Ruby 1.9 core and the warnings are from 
Ruby 1.8?

Original comment by martinah...@gmail.com on 10 Dec 2010 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by martinah...@gmail.com on 22 Oct 2011 at 6:48