Highlighting Ruby Code
# September 18, 2017
Testing out ruby syntax highlighting
def show
@widget = Widget(params[:id])
respond_to do |format|
format.html # show.html.erb
format.json { render json: @widget }
end
end
Testing out ruby syntax highlighting
def show
@widget = Widget(params[:id])
respond_to do |format|
format.html # show.html.erb
format.json { render json: @widget }
end
end