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

Default domain type

Methods

Public Class methods

[Source]

    # File lib/yaml/types.rb, line 31
31:         def initialize( domain, type, val )
32:             @domain = domain; @type_id = type; @value = val
33:             @value.taguri = "tag:#{ @domain }:#{ @type_id }"
34:         end

[Source]

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

Public Instance methods

[Source]

    # File lib/yaml/types.rb, line 35
35:         def to_yaml( opts = {} )
36:             @value.to_yaml( opts )
37:         end

[Validate]