Class: Vtk::Commands::Socks
- Inherits:
-
Thor
- Object
- Thor
- Vtk::Commands::Socks
- Defined in:
- lib/vtk/commands/socks.rb,
lib/vtk/commands/socks/on.rb,
lib/vtk/commands/socks/off.rb,
lib/vtk/commands/socks/setup.rb
Overview
Handles connecting to VA network via SOCKS
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#off ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/vtk/commands/socks.rb', line 34 def off(*) if [:help] invoke :help, ['off'] else require_relative 'socks/off' Vtk::Commands::Socks::Off.new().execute end end |
#on ⇒ Object
48 49 50 51 52 53 54 55 |
# File 'lib/vtk/commands/socks.rb', line 48 def on(*) if [:help] invoke :help, ['on'] else require_relative 'socks/on' Vtk::Commands::Socks::On.new().execute end end |
#setup ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/vtk/commands/socks.rb', line 20 def setup(*) if [:help] invoke :help, ['setup'] else require_relative 'socks/setup' Vtk::Commands::Socks::Setup.new().execute end end |