Class: YAML::Omap

Inherits:
Object
  • Object
show all
Defined in:
lib/pencil/rubyfixes.rb

Instance Method Summary collapse

Instance Method Details

#keysObject



2
3
4
# File 'lib/pencil/rubyfixes.rb', line 2

def keys
  self.map {|k,v| k}
end

#valuesObject



5
6
7
# File 'lib/pencil/rubyfixes.rb', line 5

def values
  self.map {|k,v| v}
end