diff options
Diffstat (limited to 'sample/soap/digraph.rb')
-rw-r--r-- | sample/soap/digraph.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/soap/digraph.rb b/sample/soap/digraph.rb index bf4a650cfe..54ff302592 100644 --- a/sample/soap/digraph.rb +++ b/sample/soap/digraph.rb @@ -27,7 +27,7 @@ File.open("digraph_marshalled_string.soap", "wb") do |f| SOAP::Marshal.dump(n1, f) end -marshalledString = File.open("digraph_marshalled_string.soap").read +marshalledString = File.open("digraph_marshalled_string.soap") { |f| f.read } puts marshalledString |