Sha256: 03780018433a5ff3262f843f00379d8eab0a187d74f9d978bc460de095fcbf03

Contents?: true

Size: 341 Bytes

Versions: 10

Compression:

Stored size: 341 Bytes

Contents

{
  "question": {
    "nerd_level": 2,
    "text": "How to get all but the last element of an array.",
    "a1": "ary[0..-1]",    
    "a2": "ary.pop",
    "a3": "ary.size-1",
    "a4": "ary[0...-1]",
    "category": "ruby",
    "right_answer": "a4",
    "created_by": "Georg Leciejewski",
    "created_at": "2011-06-20",
    "id": ""
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
muzang-plugins-1.1.6 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.5 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.4 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.3 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.2 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.1 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.1.0 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.0.2 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.0.1 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json
muzang-plugins-1.0.0 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_all_but_the_last.json