Method: Hash#slice

Defined in:
lib/texlab/hash.rb

#slice(*args) ⇒ Object



30
31
32
# File 'lib/texlab/hash.rb', line 30

def slice *args
  args.mash{|k| self[k]} 
end