Psych is always used and this method has no
effect.
This method is still present for compatibility.
You may still use the Syck engine by installing
the ‘syck’ gem and using the Syck constant.
# File lib/yaml.rb, line 34
def yamler= engine # :nodoc:
case engine
when 'syck' then warn "syck has been removed, psych is used instead"
when 'psych' then @yamler = 'psych'
else
raise(ArgumentError, "bad engine")
end
engine
end