<commit_before>module IpAuth
  class Ip
    include IPAddress
    attr_accessor :ip

    def initialize(*args)
      ip_str = args.shift
      ip_str = ip_str.to_string if ip_str.is_a?(IPAddress)
      args.unshift(ip_str)
      @ip = IPAddress *args
    end

    def method_missing(*args)
      self.ip.send(*args)
    end

    def ==(other)
      self.ip == other.ip
    end
    alias_method :eql?, :==
  end<commit_msg>delegating inspect and tos to ip itself<commit_after>module IpAuth
  class Ip
    include IPAddress
    attr_accessor :ip

    def initialize(*args)
      ip_str = args.shift
      ip_str = ip_str.to_string if ip_str.is_a?(IPAddress)
      args.unshift(ip_str)
      @ip = IPAddress *args
    end

    def method_missing(*args)
      self.ip.send(*args)
    end

    def ==(other)
      self.ip == other.ip
    end
    alias_method :eql?, :==

    def to_s
      self.ip.to_s
    end
    alias_method :inspect, :to_s
  end
{'fraction_non_alphanumeric': 0.09639830508474577, 'fraction_numerical': 0.0, 'mean_word_length': 2.3392226148409896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6093006', 'n_tokens_mistral': 345, 'n_tokens_neox': 340, 'n_words': 78}