lib/qlang/exec.rb in qlang-0.0.27182100 vs lib/qlang/exec.rb in qlang-0.0.27182110
- old
+ new
@@ -23,13 +23,15 @@
private
def ch_compile_type(lang)
case lang
- when '-Ruby'
+ when '-rb'
Qlang.to_ruby
- when '-R'
+ when '-r'
Qlang.to_r
+ when '-py'
+ Qlang.to_python
else
print 'Q support only Ruby and R now.'
end
end