Module: Tocmd
- Defined in:
- lib/tocmd.rb,
lib/tocmd/version.rb
Defined Under Namespace
Classes: Translator, TranslatorLocal
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
-
.hi(a) ⇒ Object
—————- tocmd command —————–.
- .hi_dir(a) ⇒ Object
- .hi_dir_local(a) ⇒ Object
-
.hi_local(a) ⇒ Object
—————- tocmd_local command —————–.
Class Method Details
.hi(a) ⇒ Object
—————- tocmd command —————–
7 8 9 10 11 12 |
# File 'lib/tocmd.rb', line 7 def self.hi(a) translator = Translator.new(a) translator.hi # puts version info p VERSION end |
.hi_dir(a) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/tocmd.rb', line 14 def self.hi_dir(a) translator = Translator.new(a) translator.hi_dir # puts version info p VERSION end |
.hi_dir_local(a) ⇒ Object
29 30 31 32 33 34 |
# File 'lib/tocmd.rb', line 29 def self.hi_dir_local(a) translator = TranslatorLocal.new(a) translator.hi_dir # puts version info p VERSION end |
.hi_local(a) ⇒ Object
—————- tocmd_local command —————–
22 23 24 25 26 27 |
# File 'lib/tocmd.rb', line 22 def self.hi_local(a) translator = TranslatorLocal.new(a) translator.hi # puts version info p VERSION end |