Sha256: d06a6dd6495cbbc133de33eb675af1a47c95aab984818c3750f593e0e07840cf

Contents?: true

Size: 243 Bytes

Versions: 11

Compression:

Stored size: 243 Bytes

Contents

# this file should not be loaded from Ruby <2.0

class KwBooksController < ApplicationController
  # keyword arguments
  def index(author_name, page: '1', q: nil)
    render text: {author_name: author_name, page: page, q: q}.inspect
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
action_args-2.0.0 test/kwargs_controllers.rb
action_args-1.5.4 spec/kwargs_controllers.rb
action_args-1.5.3 spec/kwargs_controllers.rb
action_args-1.5.2 spec/kwargs_controllers.rb
action_args-1.5.1 spec/kwargs_controllers.rb
action_args-1.4.0 spec/kwargs_controllers.rb
action_args-1.3.0 spec/kwargs_controllers.rb
action_args-1.2.1 spec/kwargs_controllers.rb
action_args-1.2.0 spec/kwargs_controllers.rb
action_args-1.1.1 spec/kwargs_controllers.rb
action_args-1.1.0 spec/kwargs_controllers.rb