annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 Fixnum
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 8
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 4.to_s
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 4.inspect
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 4.-@
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 4.+
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 4.-
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 4.*
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 4./
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 4.div
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 4.%
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 4.modulo
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 4.divmod
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 4.fdiv
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 4.**
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 4.abs
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 4.magnitude
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 4.==
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 4.===
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 4.<=>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 4.>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 4.>=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 4.<
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 4.<=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 4.~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 4.&
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 4.|
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 4.^
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 4.[]
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 4.<<
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 4.>>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 4.to_f
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 4.size
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 4.bit_length
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 4.zero?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 4.odd?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 4.even?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 4.succ
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 4.integer?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 4.upto
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 4.downto
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 4.times
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 4.next
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 4.pred
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 4.chr
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 4.ord
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 4.to_i
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 4.to_int
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 4.floor
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 4.ceil
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 4.truncate
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 4.round
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 4.gcd
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 4.lcm
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 4.gcdlcm
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 4.numerator
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 4.denominator
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 4.to_r
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 4.rationalize
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 4.singleton_method_added
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 4.coerce
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 4.i
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 4.+@
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 4.eql?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 4.remainder
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 4.real?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 4.nonzero?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 4.step
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 4.quo
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 4.to_c
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 4.real
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 4.imaginary
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 4.imag
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 4.abs2
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 4.arg
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 4.angle
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 4.phase
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 4.rectangular
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 4.rect
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 4.polar
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 4.conjugate
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 4.conj
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 4.between?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 4.nil?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 4.=~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 4.!~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 4.hash
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 4.class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 4.singleton_class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 4.clone
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 4.dup
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 4.taint
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 4.tainted?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 4.untaint
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 4.untrust
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 4.untrusted?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 4.trust
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 4.freeze
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 4.frozen?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 4.methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 4.singleton_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 4.protected_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 4.private_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 4.public_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 4.instance_variables
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 4.instance_variable_get
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 4.instance_variable_set
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 4.instance_variable_defined?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 4.remove_instance_variable
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 4.instance_of?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 4.kind_of?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 4.is_a?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 4.tap
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 4.send
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 4.public_send
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 4.respond_to?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 4.extend
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 4.display
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 4.method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 4.public_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 4.singleton_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 4.define_singleton_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 4.object_id
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 4.to_enum
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 4.enum_for
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 4.equal?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 4.!
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 4.!=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 4.instance_eval
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 4.instance_exec
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 4.__send__
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 4.__id__