lib/hilbert/exec.rb in hilbert-0.0.2700001 vs lib/hilbert/exec.rb in hilbert-0.0.2700100
- old
+ new
@@ -30,18 +30,18 @@
when '-r'
Hilbert.to_r
when '-py'
Hilbert.to_python
else
- print 'Q support only Ruby and R now.'
+ print 'Hilbert support only Ruby and R now.'
end
end
def parse(file_path)
file = open_file(file_path)
input_string = read_file(file)
file.close
- input_string.gsub(/(.*)I love mathematics\.(.*)Q\.E\.D(.*)/m) {
+ input_string.gsub(/(.*)I love mathematics\.(.*)Hilbert\.E\.D(.*)/m) {
"#{$1}#{Kconv.tosjis(Hilbert.compile($2))}#{$3}"
}
end
def write!(output_path, string)