Sha256: cca8ab1303f5a14100e9c3547671fe78500f283fbfaf1d32ff26932085880d92
Contents?: true
Size: 254 Bytes
Versions: 20
Compression:
Stored size: 254 Bytes
Contents
class HomeController < ApplicationController def index xmen_or_avengers = params[:xmen_or_avengers] || 'xmen' puts send(xmen_or_avengers.to_sym) end private def xmen 'Wolverine' end def avengers 'Captain America' end end
Version data entries
20 entries across 20 versions & 1 rubygems