16 lines
382 B
Ruby
16 lines
382 B
Ruby
class RbenvWhatis < Formula
|
|
desc "Resolves abbreviations and aliases to Ruby versions"
|
|
homepage "https://github.com/rkh/rbenv-whatis"
|
|
url "https://github.com/rkh/rbenv-whatis/archive/v1.0.0.tar.gz"
|
|
sha1 "8c802d8e2bba66d0c87c62c9d0b887beb52b1de4"
|
|
|
|
depends_on "rbenv"
|
|
|
|
def install
|
|
prefix.install Dir["*"]
|
|
end
|
|
|
|
test do
|
|
system "rbenv", "whatis", "2.0"
|
|
end
|
|
end
|