TRY:

def parameters(
  *positional_args,
  content_type: "text/html",
  another_keyword: 1,
  **extra_hash_args
)
  puts "positional_args : #{positional_args.inspect}"
  puts "content_type    : #{content_type.to_s}"
  puts "another_keyword : #{another_keyword.to_s}"
  puts "extra_hash_args : #{extra_hash_args.inspect}"
end

-- 
Posted via http://www.ruby-forum.com/.