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

Default domain type

Methods

Attributes

domain  [RW] 
type_id  [RW] 
value  [RW] 

Public Class methods

[Source]

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

[Source]

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

Public Instance methods

[Source]

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

[Validate]