module YAML
Public Class Methods
add_domain_type_that_gets_loaded_like_in_ruby_1_8(domain_type)
click to toggle source
# File lib/cfoo/yaml.rb, line 5 def self.add_domain_type_that_gets_loaded_like_in_ruby_1_8(domain_type) add_domain_type "", domain_type do |tag, value| DomainType.create(domain_type, value) end end