From: shyouhei@... Date: 2016-12-21T08:46:43+00:00 Subject: [ruby-core:78770] [Ruby trunk Feature#12963][Rejected] ?string longer than one char Issue #12963 has been updated by Shyouhei Urabe. Status changed from Feedback to Rejected No use case so far. ---------------------------------------- Feature #12963: ?string longer than one char https://bugs.ruby-lang.org/issues/12963#change-62172 * Author: Nobuyoshi Nakada * Status: Rejected * Priority: Normal * Assignee: Yukihiro Matsumoto * Target version: ---------------------------------------- Now Symbol as keyword argument is often used, but a space is required between the label and the symbol literal. ```ruby x.round(half: :up) ``` Or using a String argument, ```ruby x.round(half:"up") ``` Both don't feel nice to me. How about longer string literal by `?xxx`, which is currently restricted to just one character? ```ruby x.round(half:?up) ``` patch: https://github.com/nobu/ruby/tree/feature/q-string -- https://bugs.ruby-lang.org/ Unsubscribe: