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

Default private type

Methods

Attributes

type_id  [RW] 
value  [RW] 

Public Class methods

[Source]

    # File lib/yaml/types.rb, line 15
15:         def initialize( type, val )
16:             @type_id = type; @value = val
17:             @value.taguri = "x-private:#{ @type_id }"
18:         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 19
19:         def to_yaml( opts = {} )
20:             @value.to_yaml( opts )
21:         end

[Validate]