9 lines
242 B
Ruby
9 lines
242 B
Ruby
class MoviesController < ApplicationController
|
|
def index
|
|
@choices, @movies = ["Iron Man ⎊", "Batman 🦇", "Forrest Gump 🏃"], []
|
|
(0..15).each{ |num|
|
|
@movies.append(@choices.sample())
|
|
}
|
|
end
|
|
end
|