From: nobu@... Date: 2016-02-21T04:55:01+00:00 Subject: [ruby-core:73907] [Ruby trunk Feature#12094] parameterized property assignment: o.prop(arg) = 1) Issue #12094 has been updated by Nobuyoshi Nakada. This is a longstanding pending feature. ---------------------------------------- Feature #12094: parameterized property assignment: o.prop(arg) = 1) https://bugs.ruby-lang.org/issues/12094#change-57067 * Author: bug hit * Status: Open * Priority: Normal * Assignee: ---------------------------------------- ```ruby module Mod @foo = {} def self.foo(k) @foo[k] end def self.foo=(k, v) @foo[k] = v end end Mod1.foo(:key1) ||= 'val1' ``` -- https://bugs.ruby-lang.org/ Unsubscribe: