From: Josh Rowe Date: 2011-01-20T18:34:26+09:00 Subject: Array within array question Hello everyone, this is my first post on this forum and I'm quite new to ruby. My dilemma is that I've got an array which holds a whole lot of arrays inside it and I want to print a element of one of the arrays within the overall array. Got it? Here's an example #!/usr/bin/env ruby card1 = ["Ninja Monster", "monster", 1400] card2 = ["Ninja Mage", "monster", 1600] cdname = 0 deck = [card1,card2] puts deck[0[cdname]] Does anyone(I'm sure most of you) know how to get this to work with a minimal amount of extra code. Regards Joshua -- Posted via http://www.ruby-forum.com/.