lib/code/object/string.rb in code-ruby-1.0.0 vs lib/code/object/string.rb in code-ruby-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
class Code
class Object
class String < Object
- def initialize(*args, **_kargs, &_block)
+ def initialize(*args, **_kargs, &)
raw = args.first || Nothing.new
raw = raw.raw if raw.is_a?(Object)
@raw = raw.to_s
end