Class YAML::PrivateType
In: lib/yaml/types.rb
Parent: Object

Default private type

Methods

Public Class methods

[Source]

    # File lib/yaml/types.rb, line 14
14:         def initialize( type, val )
15:             @type_id = type; @value = val
16:             @value.taguri = "x-private:#{ @type_id }"
17:         end

[Source]

    # File lib/yaml/types.rb, line 12
12:         def self.tag_subclasses?; false; end

Public Instance methods

[Source]

    # File lib/yaml/types.rb, line 18
18:         def to_yaml( opts = {} )
19:             @value.to_yaml( opts )
20:         end

[Validate]