lib/kernel.rb in fix-1.0.0.beta2 vs lib/kernel.rb in fix-1.0.0.beta3
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Kernel
# rubocop:disable Naming/MethodName
- def Fix(subject, **lets, &block)
+ def Fix(subject = nil, **lets, &block)
::Fix.describe(subject, **lets, &block)
end
# rubocop:enable Naming/MethodName
end