Skip to content
Snippets Groups Projects
Commit c1688be7 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

version/null: add inspect method.

This makes it easier to identify null versions when inspecting them.
parent 17109737
No related branches found
No related tags found
No related merge requests found
......@@ -34,5 +34,9 @@ class Version
""
end
alias_method :to_str, :to_s
def inspect
"#<Version::NULL>".freeze
end
end.new
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment