Sha256: eb7599e44f5ab0357e50dd6b5f820bf02f9a4327008b6f1441b8f30e0897cff8
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
#encoding: UTF-8 class Termit::OutputManager def display_error_info puts "TERMIT: Wrong data. Example: 'termit en es the cowboy ' => 'el vaquero" end def display_help puts <<-EOS =========TERMIT========= USAGE: termit 'source_language' 'target_language' 'text' Example: termit en fr 'hey cowboy where is your horse?' => 'hey cow-boy ou est votre cheval?' Check docs at: github.com/pawurb/termit EOS end def display_version puts "Termit #{Termit::VERSION}" end def display_translation text print "=> " puts text end def display_synonyms synonyms print '=> Synonyms:' puts synonyms end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
termit-2.0.0 | lib/termit/output_manager.rb |