mirror of
https://github.com/dkam/decisiontree.git
synced 2025-12-28 15:14:52 +00:00
@@ -5,7 +5,7 @@
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = %q{decisiontree}
|
||||
s.version = "0.3.1"
|
||||
s.version = "0.3.2"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = ["Ilya Grigorik"]
|
||||
@@ -46,6 +46,7 @@ Gem::Specification.new do |s|
|
||||
"examples/discrete-id3.rb",
|
||||
"examples/simple.rb"
|
||||
]
|
||||
s.add_runtime_dependency "graphr"
|
||||
|
||||
if s.respond_to? :specification_version then
|
||||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user