2
1
mirror of https://github.com/kdabir/has.git synced 2024-11-10 21:26:50 +01:00
has/lib/core/ruby.sh

6 lines
146 B
Bash

output=$(ruby --version 2>&1)
status=$?
version=$(echo "$output" | egrep -o "$SIMPLE_VERSIONING" | head -1)
_dq_report 'ruby' $status "$version"