This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
yamler=(engine)
public
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