#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
# Rubyの多重代入の文法は、代入風メソッドにも適用されるという事実
class Hoge
def value=(val)
@val = val
end
end
a = Hoge.new
b = Hoge.new
a.value, b.value, c = :foo, :bar, :buz
p a
p b
p c
IyEvdXNyL2Jpbi9lbnYgcnVieQojIC0qLSBjb2Rpbmc6IHV0Zi04IC0qLQoKIyBSdWJ544Gu5aSa6YeN5Luj5YWl44Gu5paH5rOV44Gv44CB5Luj5YWl6aKo44Oh44K944OD44OJ44Gr44KC6YGp55So44GV44KM44KL44Go44GE44GG5LqL5a6fCgpjbGFzcyBIb2dlCiAgZGVmIHZhbHVlPSh2YWwpCiAgICBAdmFsID0gdmFsCiAgZW5kCmVuZAoKYSA9IEhvZ2UubmV3CmIgPSBIb2dlLm5ldwoKYS52YWx1ZSwgYi52YWx1ZSwgYyA9IDpmb28sIDpiYXIsIDpidXoKCnAgYQpwIGIKcCBj