Sha256: de1fe149f0195cebf1692f57fdeb25299191e048ab82ccb32dffdd53c11af9c1
Contents?: true
Size: 282 Bytes
Versions: 3
Compression:
Stored size: 282 Bytes
Contents
# frozen_string_literal: true # this file should not be loaded from Ruby <2.1 class KwKeyreqBooksController < ApplicationController # keyword arguments def index(author_name:, page: '1', q: nil) render plain: {author_name: author_name, page: page, q: q}.inspect end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
action_args-2.5.0 | test/kwargs_keyreq_controllers.rb |
action_args-2.4.0 | test/kwargs_keyreq_controllers.rb |
action_args-2.3.2 | test/kwargs_keyreq_controllers.rb |