Top Level Namespace
Defined Under Namespace
Modules: RubyFCA Classes: FormalContext, RubyGraphviz
Instance Method Summary collapse
-
#csv ⇒ Object
- lib/rubyfca.rb – Formal Concept Analysis tool in Ruby Author
- Yoichiro Hasebe (mailto: [email protected]) Kow Kuroda (mailto: [email protected]) Copyright
- Copyright 2009-2023 Yoichiro Hasebe and Kow Kuroda License
-
GNU GPL version 3.
-
#showerror(sentence, severity) ⇒ Object
Take care of errors.
Instance Method Details
#csv ⇒ Object
lib/rubyfca.rb – Formal Concept Analysis tool in Ruby
- Author
-
Yoichiro Hasebe (mailto: [email protected]) Kow Kuroda (mailto: [email protected])
- Copyright
-
Copyright 2009-2023 Yoichiro Hasebe and Kow Kuroda
- License
-
GNU GPL version 3
9 |
# File 'lib/rubyfca.rb', line 9 require "csv" |
#showerror(sentence, severity) ⇒ Object
Take care of errors
35 36 37 38 39 40 41 42 |
# File 'lib/rubyfca.rb', line 35 def showerror(sentence, severity) if severity.zero? puts "Warning: #{sentence} The output may not be meaningful." elsif severity == 1 puts "Error: #{sentence} No output generated." exit end end |