Sha256: 94ae1a1508e1cbca59a338a9322131d7f5672ac77b134481e064dfef8bca5aaa
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require "rbconfig" require "chef/fork/commands" class Chef class Fork module Commands class Help < Noop def run(args=[]) ruby = File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["ruby_install_name"]) exit(system(ruby, $0, "--help") ? 0 : 1) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-fork-0.1.1 | lib/chef/fork/commands/help.rb |
chef-fork-0.1.0 | lib/chef/fork/commands/help.rb |