Sha256: 6191415e5be8d55d3f7181f446925f940ffd1b5132f7d2ab4833528f30c09c3b

Contents?: true

Size: 160 Bytes

Versions: 7

Compression:

Stored size: 160 Bytes

Contents

module Repeatable
  module Expression
    class Union < Set
      def include?(date)
        elements.any? { |e| e.include?(date) }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
repeatable-0.6.0 lib/repeatable/expression/union.rb
repeatable-0.5.0 lib/repeatable/expression/union.rb
repeatable-0.4.0 lib/repeatable/expression/union.rb
repeatable-0.3.0 lib/repeatable/expression/union.rb
repeatable-0.2.1 lib/repeatable/expression/union.rb
repeatable-0.2.0 lib/repeatable/expression/union.rb
repeatable-0.1.0 lib/repeatable/expression/union.rb