Sha256: d0d062430851ba414e8eaa4c553c97ed3a73251044ce7fd27c58d3a27aa1b89c

Contents?: true

Size: 162 Bytes

Versions: 2

Compression:

Stored size: 162 Bytes

Contents

module ATP
  class OR < ::Array
    def initialize(*vals)
      vals.flatten.each { |v| self << v }
    end

    def inspect
      "OR#{super}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atp-0.2.1 lib/atp/or.rb
atp-0.2.0 lib/atp/or.rb