Class: GDK::Command::Env
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- GDK::Command::Env
- Defined in:
- lib/gdk/command/env.rb
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods inherited from BaseCommand
#config, #display_help_message, #help, #initialize, #print_help, #print_ready_message, #ready_messages, validate_config?
Constructor Details
This class inherits a constructor from GDK::Command::BaseCommand
Instance Method Details
#run(args = []) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/gdk/command/env.rb', line 9 def run(args = []) if args.empty? print_env return true end exec(env, *args) end |