From: nobu@... Date: 2016-11-21T12:53:16+00:00 Subject: [ruby-core:78233] [Ruby trunk Feature#12963] ?string longer than one char Issue #12963 has been reported by Nobuyoshi Nakada. ---------------------------------------- Feature #12963: ?string longer than one char https://bugs.ruby-lang.org/issues/12963 * Author: Nobuyoshi Nakada * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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: