Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

'rvm answer' now answers the question:

What is the Answer to the Ultimate Question of Life, the Universe, and Everything?
  • Loading branch information...
commit b2d9352b9d3ba17dcc6cba7317540754c8b31e42 1 parent d6b235c
@wayneeseguin wayneeseguin authored
Showing with 6 additions and 1 deletion.
  1. +2 −1  scripts/cli
  2. +4 −0 scripts/utility
View
3  scripts/cli
@@ -8,7 +8,7 @@ __rvm_parse_args() {
while [[ $# -gt 0 ]] ; do
rvm_token="$1" ; shift
case "$rvm_token" in
- fetch|version|srcdir|reset|debug|reload|implode|seppuku|update|monitor|notes)
+ fetch|version|srcdir|reset|debug|reload|implode|seppuku|update|monitor|notes|answer)
rvm_action=$rvm_token
;;
@@ -396,6 +396,7 @@ rvm() {
benchmark) __rvm_benchmark ; result=$? ;;
inspect) __rvm_inspect ; result=$? ;;
implode|seppuku) __rvm_implode ; result=$? ;;
+ answer) __rvm_Answer_to_the_Ultimate_Question_of_Life_the_Universe_and_Everything ; result=42 ;;
gemdir)
$rvm_scripts_path/gemsets gemdir
View
4 scripts/utility
@@ -757,3 +757,7 @@ __rvm_mono_env() {
export PKG_CONFIG_PATH="$rvm_usr_path/lib/pkgconfig:$PKG_CONFIG_PATH"
PATH="$rvm_usr_path/bin:$PATH"
}
+
+__rvm_Answer_to_the_Ultimate_Question_of_Life_the_Universe_and_Everything() {
+ echo 42
+}
Please sign in to comment.
Something went wrong with that request. Please try again.