Class: YAML::Omap

Inherits:
Object
  • Object
show all
Defined in:
lib/mongoid_rails_fixtures/mongoid_ext/fixtures.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#keysObject



27
# File 'lib/mongoid_rails_fixtures/mongoid_ext/fixtures.rb', line 27

def keys;   map { |k, v| k } end

#valuesObject



28
# File 'lib/mongoid_rails_fixtures/mongoid_ext/fixtures.rb', line 28

def values; map { |k, v| v } end