Flowdock
method

yamler=

Importance_0
v1_9_2_180 - Show latest stable - 0 notes - Class: EngineManager
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 13
    def yamler= engine
      raise(ArgumentError, "bad engine") unless %{syck psych}.include?(engine)

      require engine

      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.