RosettaCodeData/Task/Empty-string/Ruby/empty-string-1.rb

4 lines
48 B
Ruby

s = ""
s = String.new
s = "any string"; s.clear