BigW Consortium Gitlab

Commit 482795a9 by http://jneen.net/

implement RuleSet#size for tests

parent b7d30000
...@@ -6,6 +6,10 @@ class BasePolicy ...@@ -6,6 +6,10 @@ class BasePolicy
@cannot_set = cannot_set @cannot_set = cannot_set
end end
def size
to_set.size
end
def self.empty def self.empty
new(Set.new, Set.new) new(Set.new, Set.new)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment