Method: Vimpack::Commands::Command#initialize
- Defined in:
- lib/vimpack/commands/command.rb
#initialize(options, global_options) ⇒ Command
Returns a new instance of Command.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/vimpack/commands/command.rb', line 9 def initialize(, ) @options = @global_options = @commands = ARGV setup_paths(@options[:home_directory] || ENV['HOME']) initialize_environment initialize_commands end |