module YARP::Serialize
def self.load(input, serialized)
def self.load(input, serialized) input = input.dup source = Source.new(input) loader = Loader.new(source, serialized) result = loader.load_result input.force_encoding(loader.encoding) result end
def self.load_tokens(source, serialized)
def self.load_tokens(source, serialized) Loader.new(source, serialized).load_tokens_result end