module ObjectTweaks::Extension
Public Instance Methods
not_in?(another_object)
click to toggle source
# File lib/array-tweaks.rb, line 35 def not_in?(another_object) !another_object.include?(self) rescue NoMethodError raise ArgumentError, "The parameter passed to #not_in? must respond to #include?." end