Sha256: f1c3e7d1a029698cd86053100f01cefada09dbd2a3e0b45123c51d4c049e3ddc
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
# Orderly and Alphabetical requires h, i, n, s, v require 'rubygems' require 'bukkit/help' require 'bukkit/install' require 'bukkit/new' require 'bukkit/start' require 'bukkit/version' module Bukkit opt1 = ARGV[0] # First arg control flow case opt1 when "-v", "--version" puts Bukkit::VERSION when "-h", "--help" Bukkit::help when "new" Bukkit::new when "start" Bukkit::start when "install" Bukkit::install else puts "'#{opt1}' is not a command." end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bukkit-0.0.3 | lib/bukkit.rb |
bukkit-0.0.2 | lib/bukkit.rb |