Class: Rlt::Alias

Inherits:
Object
  • Object
show all
Defined in:
lib/rlt/alias.rb

Class Method Summary collapse

Class Method Details

.unpack(argv) ⇒ Object



5
6
7
8
9
# File 'lib/rlt/alias.rb', line 5

def self.unpack(argv)
  config = Rlt.config_map.dig 'alias', argv[0]
  return argv if config.nil?
  config.split(' ') + argv[1..-1]
end