Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Require graphr gem by default instead of checking if graphviz_dot ava…

…ilable.
  • Loading branch information...
commit 9b476f66d38ee1285ef1d78a86c85d5a51ce8df4 1 parent 44feebc
@louismullie louismullie authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/decisiontree/id3_tree.rb
View
6 lib/decisiontree/id3_tree.rb
@@ -3,11 +3,7 @@
### Copyright (c) 2007 Ilya Grigorik <ilya AT igvita DOT com>
### Modifed at 2007 by José Ignacio Fernández <joseignacio.fernandez AT gmail DOT com>
-begin
- require 'graph/graphviz_dot'
-rescue LoadError
- STDERR.puts "graph/graphviz_dot not installed, graphing functionality not included."
-end
+require 'graphr'
class Object
def save_to_file(filename)
Please sign in to comment.
Something went wrong with that request. Please try again.