APIdock / Ruby
/
Browse About
method

inspect

v2_5_5 - Show latest stable - Class: Integer
inspect(*args)
public

Alias for Integer#to_s

Related methods

  • Instance methods
  • %
  • &
  • *
  • **
  • +
  • -
  • -@
  • /
  • <
  • <<
  • <=
  • <=>
  • ==
  • ===
  • >
  • >=
  • >>
  • []
  • ^
  • abs
  • allbits?
  • anybits?
  • bit_length
  • ceil
  • chr
  • coerce
  • dclone
  • denominator
  • digits
  • div
  • divmod
  • downto
  • even?
  • fdiv
  • floor
  • gcd
  • gcdlcm
  • inspect
  • integer?
  • lcm
  • magnitude
  • modulo
  • next
  • nobits?
  • numerator
  • odd?
  • ord
  • pow
  • pred
  • prime?
  • prime_division
  • rationalize
  • remainder
  • round
  • size
  • succ
  • times
  • to_bn
  • to_d
  • to_f
  • to_i
  • to_int
  • to_r
  • to_s
  • truncate
  • upto
  • |
  • ~
  • Class methods
  • each_prime
  • from_prime_division
  • sqrt
APIdock API Documentation Browser

© 2026 APIdock