Doc fix in Loader.

This commit is contained in:
Ferdinand Majerech 2014-07-19 15:39:36 +02:00
parent a990771991
commit 882df6148a

View file

@ -125,6 +125,10 @@ struct Loader
/// Params: data = String to load YAML from.
///
/// Returns: Loader loading YAML from given string.
///
/// Throws:
///
/// YAMLException if data could not be parsed (e.g. a decoding error)
static Loader fromString(string data)
{
return Loader(new MemoryStream(cast(char[])data));