Permalink
Browse files

Aliases Match#include? to Match#governs?

  • Loading branch information...
1 parent a6c6fbf commit 2fddeab933b0c9d18f04544b297b99aa37695ed5 @cadwallion cadwallion committed May 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/bracket_tree/match.rb
@@ -11,6 +11,8 @@ def include? seat
@seats.include? seat
end
+ alias_method :governs?, :include?
+
def to_h
{
seats: @seats,

0 comments on commit 2fddeab

Please sign in to comment.