bin/rubyfca in rubyfca-0.2.10 vs bin/rubyfca in rubyfca-0.2.11
- old
+ new
@@ -1,17 +1,15 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-require 'trollop'
require 'rubyfca'
-require 'ruby_graphviz'
################ parse options ##########
opts = Trollop::options do
- version = File.read(File.dirname(__FILE__) + "/../VERSION")
+ version RubyFCA::VERSION
banner <<-EOS
RubuFCA converts Conexp CXT data to Graphviz dot format.
Usage:
@@ -77,10 +75,10 @@
#
# context data is converted to a hash table
#
begin
ctxt = FormalContext.new(inputdata, input_type, !opts[:full])
- ctxt.calculate
+ ctxt.calcurate
# rescue => e
# puts e
# showerror("Source data may have problems. Process aborted.", 1)
end