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

Work around Fixnum#|

Methods

|  

External Aliases

| -> __rs_fixnum_pipe

Public Instance methods

Override | for anything not to_int

[Source]

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

[Validate]