class Brita::SubsetComparator
Public Class Methods
new(array)
click to toggle source
# File lib/brita/subset_comparator.rb, line 3 def initialize(array) @array = array end
Public Instance Methods
include?(other)
click to toggle source
# File lib/brita/subset_comparator.rb, line 7 def include?(other) @array.to_set >= other.to_set end