Sha256: c1c5166446550558d794ce70f3d6dbdbd9f1e284fc9be930250ebf94b242a40d

Contents?: true

Size: 176 Bytes

Versions: 19

Compression:

Stored size: 176 Bytes

Contents

$LOAD_PATH.unshift '../lib'
require 'memory_record'

class C
  include MemoryRecord
  memory_record [
    {key: [:a, :b]},
  ]
end

C.keys                          # => [:a_b]

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
memory_record-0.0.20 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.19 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.18 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.17 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.15 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.14 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.13 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.12 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.11 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.10 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.9 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.8 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.7 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.6 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.5 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.4 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.3 examples/0120_key_join_underscore_if_array.rb
memory_record-0.0.2 examples/0140_key_join_underscore_if_array.rb
memory_record-0.0.1 examples/0140_key_join_underscore_if_array.rb