class Hashie::Mash
def log_collision?(method_key)
def log_collision?(method_key) return unless respond_to?(method_key) _, suffix = method_name_and_suffix(method_key) (!suffix || suffix == '='.freeze) && !self.class.disable_warnings?(method_key) && !(regular_key?(method_key) || regular_key?(method_key.to_s)) end