Parent

Methods

Object

Public Instance Methods

deep_clone() click to toggle source

deep_clone is the usual Marshalling hack to make a deep copy. It is rather slow, so use it sparingly. Helps with debugging SexpProcessors since you usually shift off sexps.

     # File lib/sexp_processor.rb, line 376
376:   def deep_clone
377:     Marshal.load(Marshal.dump(self))
378:   end
s(*args) click to toggle source

This is just a stupid shortcut to make indentation much cleaner.

     # File lib/sexp.rb, line 308
308: def s(*args)
309:   Sexp.new(*args)
310: end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.