Sha256: 1a407ffb50fff465937194ccb6b22018b97d6aa58cfe60b8dab999eaa2bd6f42
Contents?: true
Size: 823 Bytes
Versions: 8
Compression:
Stored size: 823 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true trap('INT') do |status| effective_status = status ? status + 128 : 128 exit! effective_status end require 'mutant' namespace = if ARGV.include?('--zombie') $stderr.puts('Running mutant zombified!') Mutant::Zombifier.call( namespace: :Zombie, load_path: $LOAD_PATH, kernel: Kernel, pathname: Pathname, require_highjack: Mutant::RequireHighjack .method(:call) .to_proc .curry .call(Kernel), root_require: 'mutant', includes: %w[ mutant unparser morpher adamantium equalizer anima concord ] ) Zombie::Mutant else Mutant end Kernel.exit(namespace::CLI.run(ARGV))
Version data entries
8 entries across 8 versions & 1 rubygems