Flowdock
method

yamler=

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: EngineManager

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

yamler=(engine) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/yaml.rb, line 28
    def yamler= engine
      raise(ArgumentError, "bad engine") unless %{syck psych}.include?(engine)

      require engine unless (engine == 'syck' ? Syck : Psych).const_defined?(:VERSION)

      Object.class_eval         remove_const 'YAML'        YAML = #{engine.capitalize}        remove_method :to_yaml        alias :to_yaml :#{engine}_to_yaml, __FILE__, __LINE__ + 1

      @yamler = engine
      engine
    end
Register or log in to add new notes.