class Any

Constants

VERSION

Public Class Methods

==(other) click to toggle source

Always returns true in a comparison

@param other [Any]

Any other type

@return true

# File lib/any.rb, line 11
def ==(other)
  true
end
===(other) click to toggle source

Always returns true in a comparison

@param other [Any]

Any other type

@return true

# File lib/any.rb, line 21
def ===(other)
  true
end
to_proc() click to toggle source

Always returns true from a proc

@return Proc => true

# File lib/any.rb, line 28
def to_proc
  proc { true }
end