Google

def initialize( source = nil, context = {} ) super() @context = context return if source.nil? if source.kind_of? Source parse( source ) elsif source.kind_of? Document super source @context = source.context else parse( SourceFactory.create_from(source) ) end end