Class: Psych::EngineManager

Inherits:
Object
  • Object
show all
Defined in:
lib/yaml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEngineManager

:nodoc:



24
25
26
# File 'lib/yaml.rb', line 24

def initialize # :nodoc:
  @yamler = 'psych'
end

Instance Attribute Details

#yamlerObject

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:

Returns:

  • (Boolean)


28
29
30
# File 'lib/yaml.rb', line 28

def syck? # :nodoc:
  false
end