Sha256: 3a699e949b89a3bbb6a3677db0a57a6b71ac75a8f7127188334b3c97c46dac39

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

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