Sha256: 185ab9eab4bd9d66da22a0de5a81d25b8003ded15c95695a58883d8b97bef506

Contents?: true

Size: 421 Bytes

Versions: 10

Compression:

Stored size: 421 Bytes

Contents

{ "question" : {
    "id": "",
    "category": "ruby",
    "nerd_level": 1,
    "text": "What is the correct way to pass [arg1, arg2] as an argument to User.send(:my_method)?",
    "a1": "User.send(:my_method, a)",
    "a2": "User.send(:my_method, &a)",
    "a3": "User.send(:my_method, @a)",
    "a4": "User.send(:my_method, *a)",
    "right_answer": "a4",
    "created_at": "2011-06-07",
    "created_by": "Paul"
  }
}

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_splat.json
muzang-plugins-1.1.5 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.1.4 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.1.3 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.1.2 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.1.1 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.1.0 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.0.2 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.0.1 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json
muzang-plugins-1.0.0 lib/muzang-plugins/muzang-nerdpursuit/questions/ruby/array_splat.json