Top Level Namespace
Defined Under Namespace
Modules: Trollop Classes: FormalContext, RubyGraphviz
Instance Method Summary collapse
-
#date ⇒ Object
- lib/trollop.rb – trollop command-line processing library Author
- William Morgan (mailto: [email protected]) Copyright
- Copyright create_create_and_ary William Morgan License
-
GNU GPL version 2.
-
#showerror(sentence, severity) ⇒ Object
Take care of errors.
Instance Method Details
#date ⇒ Object
lib/trollop.rb – trollop command-line processing library
- Author
-
William Morgan (mailto: [email protected])
- Copyright
-
Copyright create_create_and_ary William Morgan
- License
-
GNU GPL version 2
6 |
# File 'lib/trollop.rb', line 6 require 'date' |
#showerror(sentence, severity) ⇒ Object
Take care of errors
29 30 31 32 33 34 35 36 |
# File 'lib/rubyfca.rb', line 29 def showerror(sentence, severity) if severity == 0 puts "Warning: #{sentence} The output may not be meaningful." elsif severity == 1 puts "Error: #{sentence} No output generated." exit end end |