Skip to content

Commit

Permalink
Fix whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed May 30, 2017
1 parent f64506d commit c4be363
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/IO.nqp
Expand Up @@ -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);
Expand Down

0 comments on commit c4be363

Please sign in to comment.