Class: Psych::EngineManager
- Inherits:
-
Object
- Object
- Psych::EngineManager
- Defined in:
- lib/yaml.rb
Instance Attribute Summary collapse
-
#yamler ⇒ Object
Returns the YAML engine in use.
Instance Method Summary collapse
-
#initialize ⇒ EngineManager
constructor
:nodoc:.
-
#syck? ⇒ Boolean
:nodoc:.
Constructor Details
#initialize ⇒ EngineManager
:nodoc:
24 25 26 |
# File 'lib/yaml.rb', line 24 def initialize # :nodoc: @yamler = 'psych' end |
Instance Attribute Details
#yamler ⇒ Object
Returns the YAML engine in use.
By default Psych is used but the old and unmaintained Syck may be chosen.
See #yamler= for more information.
22 23 24 |
# File 'lib/yaml.rb', line 22 def yamler @yamler end |
Instance Method Details
#syck? ⇒ Boolean
:nodoc:
28 29 30 |
# File 'lib/yaml.rb', line 28 def syck? # :nodoc: false end |