Class: EtnaApp::Console

Inherits:
Etna::Command show all
Defined in:
lib/commands.rb

Instance Attribute Summary

Attributes inherited from Etna::Command

#parent

Instance Method Summary collapse

Methods inherited from Etna::Command

#completions, #fill_in_missing_params, #find_command, #initialize, parent_scope

Methods included from Etna::CommandOrExecutor

#command_name, #completions_for, #desc, #flag_argspec, #flag_as_parameter, included, #parse_flags, #program_name, #usage

Constructor Details

This class inherits a constructor from Etna::Command

Instance Method Details

#executeObject



689
690
691
692
693
# File 'lib/commands.rb', line 689

def execute
  require 'irb'
  ARGV.clear
  IRB.start
end

#setup(config) ⇒ Object



695
696
697
# File 'lib/commands.rb', line 695

def setup(config)
  super
end