class RuboCop::Cop::Rails::ReversibleMigration
def all_hash_key?(args, *keys)
def all_hash_key?(args, *keys) return false unless args && args.hash_type? hash_keys = args.to_a.map do |arg| arg.to_a.first.children.first.to_sym end hash_keys & keys == keys end