Parent

Module

Public Class Methods

yaml_new(klass, tag, val) click to toggle source
# File lib/delayed/syck_ext.rb, line 4
def self.yaml_new(klass, tag, val)
  klass
end

Public Instance Methods

to_yaml(options = {}) click to toggle source
# File lib/delayed/syck_ext.rb, line 8
def to_yaml(options = {})
  YAML.quick_emit(nil, options) do |out|
    out.scalar(taguri, name, :plain)
  end
end
yaml_tag_read_class(name) click to toggle source
# File lib/delayed/syck_ext.rb, line 14
def yaml_tag_read_class(name)
  # Constantize the object so that ActiveSupport can attempt
  # its auto loading magic. Will raise LoadError if not successful.
  name.constantize
  name
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.