<commit_before>require "active_support"
require "interest/followable"
require "interest/blockable"

module Interest
  module Base
    extend ActiveSupport::Concern

    def followable?(other)
      other.is_a?(Interest::Followable::Followee)
    end

    def blockable?(other)
      other.is_a?(Interest::Blockable::Blockee)
    end

    module ClassMethods
    end
  end
end<commit_msg>Fix followable? and blockable? methods<commit_after>require "active_support"
require "interest/followable"
require "interest/blockable"

module Interest
  module Base
    extend ActiveSupport::Concern

    def followable?(other)
      is_a?(Interest::Followable::Follower) and other.is_a?(Interest::Followable::Followee)
    end

    def blockable?(other)
      is_a?(Interest::Blockable::Blocker) and other.is_a?(Interest::Blockable::Blockee)
    end

    module ClassMethods
    end
  end
end
{'fraction_non_alphanumeric': 0.09761634506242906, 'fraction_numerical': 0.0, 'mean_word_length': 4.478260869565218, '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': '6233220', 'n_tokens_mistral': 278, 'n_tokens_neox': 272, 'n_words': 57}