Revision c20cef82 src/tm_mad/TMScript.rb

View differences:

src/tm_mad/TMScript.rb
17 17

  
18 18
require 'pp'
19 19
require 'open3'
20
require 'ftools'
21 20
require 'CommandManager'
22 21

  
23 22
=begin rdoc
......
84 83
        scripts_text=""
85 84
        
86 85
        if File.exist?(scripts_file)
87
            scripts_text = open(scripts_file).read
86
            scripts_text = File.read(scripts_file)
88 87
        else
89 88
            STDERR.puts("Can not open #{scripts_file}")
90 89
            STDERR.flush

Also available in: Unified diff