view 1-Ruby/object-all-things-ruby.output @ 24:cd874e58dbc5

Add code from book
author IBBoard <dev@ibboard.co.uk>
date Fri, 20 Jan 2017 20:59:01 +0000
parents 2b423d86da51
children
line wrap: on
line source

Fixnum
8
4.to_s
4.inspect
4.-@
4.+
4.-
4.*
4./
4.div
4.%
4.modulo
4.divmod
4.fdiv
4.**
4.abs
4.magnitude
4.==
4.===
4.<=>
4.>
4.>=
4.<
4.<=
4.~
4.&
4.|
4.^
4.[]
4.<<
4.>>
4.to_f
4.size
4.bit_length
4.zero?
4.odd?
4.even?
4.succ
4.integer?
4.upto
4.downto
4.times
4.next
4.pred
4.chr
4.ord
4.to_i
4.to_int
4.floor
4.ceil
4.truncate
4.round
4.gcd
4.lcm
4.gcdlcm
4.numerator
4.denominator
4.to_r
4.rationalize
4.singleton_method_added
4.coerce
4.i
4.+@
4.eql?
4.remainder
4.real?
4.nonzero?
4.step
4.quo
4.to_c
4.real
4.imaginary
4.imag
4.abs2
4.arg
4.angle
4.phase
4.rectangular
4.rect
4.polar
4.conjugate
4.conj
4.between?
4.nil?
4.=~
4.!~
4.hash
4.class
4.singleton_class
4.clone
4.dup
4.taint
4.tainted?
4.untaint
4.untrust
4.untrusted?
4.trust
4.freeze
4.frozen?
4.methods
4.singleton_methods
4.protected_methods
4.private_methods
4.public_methods
4.instance_variables
4.instance_variable_get
4.instance_variable_set
4.instance_variable_defined?
4.remove_instance_variable
4.instance_of?
4.kind_of?
4.is_a?
4.tap
4.send
4.public_send
4.respond_to?
4.extend
4.display
4.method
4.public_method
4.singleton_method
4.define_singleton_method
4.object_id
4.to_enum
4.enum_for
4.equal?
4.!
4.!=
4.instance_eval
4.instance_exec
4.__send__
4.__id__