Stubs marshal dumps and acts a delegate class for an object by path
@private
# File lib/yard/serializers/yardoc_serializer.rb, line 8 def _dump(depth) @path end
# File lib/yard/serializers/yardoc_serializer.rb, line 10 def hash; @path.hash end
# File lib/yard/serializers/yardoc_serializer.rb, line 17 def method_missing(meth, *args, &block) return true if meth == :respond_to? && args.first == :_dump @object = nil if @transient @object ||= Registry.at(@path) @object.send(meth, *args, &block) rescue NoMethodError => e e.backtrace.delete_if {|l| l[0, __FILE__.size] == __FILE__ } raise end
Generated with the Darkfish Rdoc Generator 2.