Jan E. wrote in post #1068806:
> Well, I've never used Bazaar. I think most people use Git together with
> GitHub.
>
> As to the licence: As far as I understand, Ruby itself doesn't force you
> to use a specific licence. It may be different if you include external
> libraries. But I'm really no lawyer. ;-)

hi, thx for the info.

now, before the battle, as suggested above, I have list of cards with 
names and attributes.

code for this:

@deck.each_with_index {|b,i| puts "#{i+1}. 
#{b.name}\n#{b.type}\n#{b.attributes}"}

My question is about the output:

Type: dragon.
Attack: 114.
Armor: 50.
1. gali

The order is reversed.

-- 
Posted via http://www.ruby-forum.com/.