Sha256: 1d3985cd10ddae69ac4a08428f629bd6fdd0728eb0bfb8d18d2cb0ce64718531
Contents?: true
Size: 873 Bytes
Versions: 15
Compression:
Stored size: 873 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 adamantium equalizer anima concord ] ) Zombie::Mutant else Mutant end Kernel.exit( namespace::CLI.run( namespace::WORLD, namespace::Config::DEFAULT, ARGV ) )
Version data entries
15 entries across 15 versions & 1 rubygems