Sha256: 1bd068485e2c9218aeaf4cb15df48cc8c8de74b03e54f0b95e05451f33ee5dd5
Contents?: true
Size: 274 Bytes
Versions: 4
Compression:
Stored size: 274 Bytes
Contents
# frozen_string_literal: true # this file should not be loaded from Ruby <2.0 class KwBooksController < 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
action_args-2.3.1 | test/kwargs_controllers.rb |
action_args-2.3.0 | test/kwargs_controllers.rb |
action_args-2.2.1 | test/kwargs_controllers.rb |
action_args-2.2.0 | test/kwargs_controllers.rb |