mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
12 lines
135 B
Ruby
12 lines
135 B
Ruby
|
# frozen_string_literal: true
|
||
|
a = 'string'
|
||
|
b = a
|
||
|
c = b
|
||
|
d = c
|
||
|
e = d
|
||
|
begin
|
||
|
a << 'new part'
|
||
|
rescue Exception => e
|
||
|
print e.message
|
||
|
end
|