Adds the string to the Octave script. At the end of the line a semicolon is appended.
(&self, s: &str)
| 20 | /// |
| 21 | /// At the end of the line a semicolon is appended. |
| 22 | pub fn add(&self, s: &str) -> OctaveScriptBuilder { |
| 23 | |
| 24 | let mut buf = self.buf.clone(); |
| 25 | buf.push(s.to_string()); |
| 26 | OctaveScriptBuilder { |
| 27 | buf: buf, |
| 28 | octave_bin: self.octave_bin.clone() |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | fn join<T: fmt::Display>(&self, v: &[T]) -> String { |
| 33 |
no test coverage detected