WpVersion::Findable specs

This commit is contained in:
erwanlr
2013-03-28 20:48:19 +01:00
parent a7bd5044c4
commit 565bfceb49
97 changed files with 456 additions and 18105 deletions

View File

@@ -16,4 +16,11 @@ class WpVersion < WpItem
# @return [ Array ]
def allowed_options; super << :number << :found_from end
# @param [ WpVersion ] other
#
# @return [ Boolean ]
def ==(other)
number == other.number
end
end