class GeekDict::CLI
Public Instance Methods
t(word)
click to toggle source
# File lib/geekdict/cli.rb, line 13 def t(word) GeekDict.debugger options[:debug] LocalHistory.save word result = GeekDict::OpenAI.translate word puts result end
v()
click to toggle source
# File lib/geekdict/cli.rb, line 21 def v() puts GeekDict::VERSION end