method

create_from

ruby latest stable - Class: REXML::SourceFactory
create_from(arg)
public

Generates a Source object @param arg Either a String, or an IO @return a Source, or nil if a bad argument was given