lib/json/merge_patch.rb
# Applies the patch the original object.
#
# @return [Object] the document after applying the patch.
Applies the patch the original object.
Applies the patch the original object .
def call
      return @orig if @patch.nil?
      merge @orig, @patch
    end
def call return @orig if @patch . nil? merge @orig , @patch end
Applies the patch the original object.
Applies the patch the original object .
the document after applying the patch.
the document after applying the patch .
Object