Module: Psych

Defined in:
lib/delayed/psych_ext.rb

Class Method Summary collapse

Class Method Details

.load_dj(yaml) ⇒ Object


15
16
17
18
# File 'lib/delayed/psych_ext.rb', line 15

def self.load_dj(yaml)
  result = parse(yaml)
  result ? Delayed::PsychExt::ToRuby.create.accept(result) : result
end