Module: CodeRay::Tokens::Undumping

Defined in:
lib/coderay/tokens.rb

Overview

Include this module to give an object an #undump method.

The string returned by Tokens.dump includes Undumping.

Instance Method Summary collapse

Instance Method Details

#undumpObject

Calls Tokens.load with itself.



258
259
260
# File 'lib/coderay/tokens.rb', line 258

def undump
  Tokens.load self
end