Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Includes:
- Hashie::Extensions::SymbolizeKeys
- Defined in:
- lib/gusteau/helpers.rb,
lib/gusteau/vagrant.rb
Instance Method Summary collapse
Instance Method Details
#slice(*keys) ⇒ Object
4 5 6 |
# File 'lib/gusteau/helpers.rb', line 4 def slice *keys select{|k| keys.member?(k)} end |