class Syck::DomainType
Default domain type
Public Class Methods
Source
# File lib/syck/types.rb, line 30 def initialize( domain, type, val ) @domain = domain; @type_id = type; @value = val @value.taguri = "tag:#{ @domain }:#{ @type_id }" end
Public Instance Methods
Source
# File lib/syck/types.rb, line 34 def to_yaml( opts = {} ) @value.to_yaml( opts ) end