diff --git a/src/core/IO.nqp b/src/core/IO.nqp index 43aed6acc2..42fd6d908e 100644 --- a/src/core/IO.nqp +++ b/src/core/IO.nqp @@ -109,14 +109,14 @@ my class NQPFileHandle { $!decoder.consume-all-chars() } - method print($str) { + method print($str) { $!decoder || die("Cannot 'print' on a binary file handle"); - nqp::writefh($!vmio, nqp::encode($str, $!encoding, nqp::create($NQPBuf))); - } + nqp::writefh($!vmio, nqp::encode($str, $!encoding, nqp::create($NQPBuf))); + } - method say($str) { - self.print($str ~ "\n") - } + method say($str) { + self.print($str ~ "\n") + } method close() { nqp::closefh($!vmio);