class Hotdog::Commands::Version
Public Instance Methods
run(args=[], options={})
click to toggle source
# File lib/hotdog/commands/version.rb, line 8 def run(args=[], options={}) ruby = File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["ruby_install_name"]) exit(system(ruby, $0, "--version") ? 0 : 1) end