aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2012-11-08 22:47:35 +0100
committerJakob Odersky <jodersky@gmail.com>2012-11-08 22:47:35 +0100
commit792a2b0167ca4a01615d33d0d31ee31bf889a226 (patch)
tree797ca8164b15f92653e7500cdde3f23c58e0df59
parentc2a658485935f288cd2ae7c1ffd84d0deb2c89b4 (diff)
downloadscalam-792a2b0167ca4a01615d33d0d31ee31bf889a226.tar.gz
scalam-792a2b0167ca4a01615d33d0d31ee31bf889a226.tar.bz2
scalam-792a2b0167ca4a01615d33d0d31ee31bf889a226.zip
make constructor parameters accessible as vals
-rw-r--r--src/main/scala/scalam/m/interpretation/Interpreter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/scalam/m/interpretation/Interpreter.scala b/src/main/scala/scalam/m/interpretation/Interpreter.scala
index 93411c3..bec89dd 100644
--- a/src/main/scala/scalam/m/interpretation/Interpreter.scala
+++ b/src/main/scala/scalam/m/interpretation/Interpreter.scala
@@ -6,7 +6,7 @@ import scala.io._
import java.io._
import scala.concurrent._
-class Interpreter(command: String, pwd: Path) {
+class Interpreter(val command: String, val pwd: Path) {
private val inputStream = new SyncVar[OutputStream];
val process = Process(command, pwd.fileOption, "" -> "").run(