aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/version/null.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-11-21 09:18:22 +0000
committerGitHub2016-11-21 09:18:22 +0000
commit6b2242822b30f7a0d4c4399d782dc3d091aba12b (patch)
treeaca50fb62166fc8dffe93c2b67530dd19cada7f0 /Library/Homebrew/version/null.rb
parent17109737925c65acfba761aa107567d07a910557 (diff)
parentb9d0d7719a9ecc31be4b2fb3e027e20b3ba378e6 (diff)
downloadbrew-6b2242822b30f7a0d4c4399d782dc3d091aba12b.tar.bz2
Merge pull request #1546 from MikeMcQuaid/llvm-clang-fixes
LLVM Clang fixes
Diffstat (limited to 'Library/Homebrew/version/null.rb')
-rw-r--r--Library/Homebrew/version/null.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/version/null.rb b/Library/Homebrew/version/null.rb
index 77106bcce..65e3d56c0 100644
--- a/Library/Homebrew/version/null.rb
+++ b/Library/Homebrew/version/null.rb
@@ -34,5 +34,9 @@ class Version
""
end
alias_method :to_str, :to_s
+
+ def inspect
+ "#<Version::NULL>".freeze
+ end
end.new
end