Open AJean144 opened 9 years ago
#to_img
<img src="/path/to/queen/of/hearts.svg">
<%= @queen_of_hearts.to_img %>
/code/cards
deck_display.erb
deck_display.html
card_display.erb
card_display.html
card.rb
deck.rb
https://github.com/AJean144/TIY-Assignments/pull/8
Tasks
Simple Tasks
Greater Tasks
#to_img
method so that instead of<img src="/path/to/queen/of/hearts.svg">
you can just write<%= @queen_of_hearts.to_img %>
(L)Deliverables
/code/cards
directory with four files:deck_display.erb
anddeck_display.html
card_display.erb
andcard_display.html
card.rb
anddeck.rb
files to make the display work