@@ -295,7 +295,7 @@ def _extract_method_values(object, attributes)
295295
296296 def _merge_block ( key )
297297 current_value = _blank? ? BLANK : @attributes . fetch ( _key ( key ) , BLANK )
298- raise NullError . build ( key ) if current_value . nil?
298+ :: Kernel . raise NullError . build ( key ) if current_value . nil?
299299 new_value = _scope { yield self }
300300 _merge_values ( current_value , new_value )
301301 end
@@ -310,7 +310,7 @@ def _merge_values(current_value, updates)
310310 elsif ::Hash === current_value && ::Hash === updates
311311 current_value . deep_merge ( updates )
312312 else
313- raise MergeError . build ( current_value , updates )
313+ :: Kernel . raise MergeError . build ( current_value , updates )
314314 end
315315 end
316316
@@ -331,8 +331,8 @@ def _format_keys(hash_or_array)
331331 end
332332
333333 def _set_value ( key , value )
334- raise NullError . build ( key ) if @attributes . nil?
335- raise ArrayError . build ( key ) if ::Array === @attributes
334+ :: Kernel . raise NullError . build ( key ) if @attributes . nil?
335+ :: Kernel . raise ArrayError . build ( key ) if ::Array === @attributes
336336 return if @ignore_nil && value . nil? or _blank? ( value )
337337 @attributes = { } if _blank?
338338 @attributes [ _key ( key ) ] = value
0 commit comments