Skip to content

Commit

Permalink
Try to make it work with Ruby 1.9.2 too. Damn!
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmo committed Oct 8, 2013
1 parent ed14ca6 commit e8db786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/delayed/psych_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class ToRuby
case o.tag
when '!binary', 'tag:yaml.org,2002:binary'
o.value.unpack('m').first
when '!ruby/object:BigDecimal'
require 'bigdecimal'
BigDecimal._load o.value
when '!str', 'tag:yaml.org,2002:str'
o.value
when "!ruby/object:DateTime"
Expand Down

0 comments on commit e8db786

Please sign in to comment.