Mercurial > irccd
diff doc/html/api/module/Irccd.File/method/lines.md @ 77:c5f4ca941f79
Irccd: add new Irccd.File.lines function, #445
While here also remove optional '\r' in Irccd.File.readline.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 30 Mar 2016 19:01:53 +0200 |
parents | |
children | 904ee87bc808 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/html/api/module/Irccd.File/method/lines.md Wed Mar 30 19:01:53 2016 +0200 @@ -0,0 +1,7 @@ +--- +method: lines +summary: "Read all lines and return an array." +synopsis: "File.prototype.lines()" +returns: "An array with all lines." +throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." +---