Module: Tocmd
- Defined in:
- lib/tocmd.rb,
lib/tocmd/version.rb
Defined Under Namespace
Classes: Translator, TranslatorConf, TranslatorLocal
Constant Summary collapse
- VERSION =
"0.4.3"
Class Method Summary collapse
-
.hi(a) ⇒ Object
—————- tocmd command —————–.
-
.hi_conf(a) ⇒ Object
—————- tocmd_conf command —————–.
- .hi_dir(a) ⇒ Object
- .hi_dir_conf(a) ⇒ Object
- .hi_dir_local(a) ⇒ Object
-
.hi_local(a) ⇒ Object
—————- tocmd_local command —————–.
- .set_no_browser(flag) ⇒ Object
Class Method Details
.hi(a) ⇒ Object
—————- tocmd command —————–
14 15 16 17 18 19 |
# File 'lib/tocmd.rb', line 14 def self.hi(a) translator = Translator.new(a) translator.hi(@no_browser) # puts version info p VERSION end |
.hi_conf(a) ⇒ Object
—————- tocmd_conf command —————–
44 45 46 47 48 49 |
# File 'lib/tocmd.rb', line 44 def self.hi_conf(a) translator = TranslatorConf.new(a) translator.hi(@no_browser) # puts version info p VERSION end |
.hi_dir(a) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/tocmd.rb', line 21 def self.hi_dir(a) translator = Translator.new(a) translator.hi_dir(@no_browser) # puts version info p VERSION end |
.hi_dir_conf(a) ⇒ Object
51 52 53 54 55 56 |
# File 'lib/tocmd.rb', line 51 def self.hi_dir_conf(a) translator = TranslatorConf.new(a) translator.hi_dir(@no_browser) # puts version info p VERSION end |
.hi_dir_local(a) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/tocmd.rb', line 36 def self.hi_dir_local(a) translator = TranslatorLocal.new(a) translator.hi_dir(@no_browser) # puts version info p VERSION end |
.hi_local(a) ⇒ Object
—————- tocmd_local command —————–
29 30 31 32 33 34 |
# File 'lib/tocmd.rb', line 29 def self.hi_local(a) translator = TranslatorLocal.new(a) translator.hi(@no_browser) # puts version info p VERSION end |
.set_no_browser(flag) ⇒ Object
9 10 11 |
# File 'lib/tocmd.rb', line 9 def self.set_no_browser(flag) @no_browser = flag end |