[from now] 2013/05/23 23:58:22
[from now] 2013/05/23 23:58:22

diff --git a/lib/sample.rb b/lib/sample.rb
index b91c108..77110ac 100644
--- a/lib/sample.rb
+++ b/lib/sample.rb
@@ -26,4 +26,9 @@ class Version
     return update_number < ver_obj.update_number if family_number == ver_obj.family_number
     family_number < ver_obj.family_number
   end
+
+  def gt(ver_obj)
+    return update_number > ver_obj.update_number if family_number == ver_obj.family_number
+    family_number > ver_obj.family_number
+  end
 end

odaillyjp/tddbc_nagaoka