Class Array
In: lib/rs/objectstream.rb
Parent: Object

Work around Array#|

Methods

|  

External Aliases

| -> __rs_array_pipe

Public Instance methods

Override | for anything not to_ary

[Source]

# File lib/rs/objectstream.rb, line 185
  def |(other)
    if other.respond_to? :to_ary
      __rs_array_pipe other
    else
      ObjectStream.new self, other
    end                               # :to_int 
  end

[Validate]