annotate 1-Ruby/object-all-things-irb.output @ 35:22edfbf3b8bd

Add most of the self-study answers
author IBBoard <dev@ibboard.co.uk>
date Wed, 06 Sep 2017 19:54:35 +0100
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 object-all-things.rb(main):001:0> #! /usr/bin/env ruby
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 object-all-things.rb(main):002:0*
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 object-all-things.rb(main):003:0* 4
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 => 4
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 object-all-things.rb(main):004:0> 4.class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 => Fixnum
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 object-all-things.rb(main):005:0> puts 4.class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 Fixnum
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 => nil
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 object-all-things.rb(main):006:0> 4 + 4
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 => 8
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 object-all-things.rb(main):007:0> puts 4 + 4
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 8
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 => nil
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 object-all-things.rb(main):008:0> 4.methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 => [:to_s, :inspect, :-@, :+, :-, :*, :/, :div, :%, :modulo, :divmod, :fdiv, :**, :abs, :magnitude, :==, :===, :<=>, :>, :>=, :<, :<=, :~, :&, :|, :^, :[], :<<, :>>, :to_f, :size, :bit_length, :zero?, :odd?, :even?, :succ, :integer?, :upto, :downto, :times, :next, :pred, :chr, :ord, :to_i, :to_int, :floor, :ceil, :truncate, :round, :gcd, :lcm, :gcdlcm, :numerator, :denominator, :to_r, :rationalize, :singleton_method_added, :coerce, :i, :+@, :eql?, :remainder, :real?, :nonzero?, :step, :quo, :to_c, :real, :imaginary, :imag, :abs2, :arg, :angle, :phase, :rectangular, :rect, :polar, :conjugate, :conj, :between?, :nil?, :=~, :!~, :hash, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to?, :extend, :display, :method, :public_method, :singleton_method, :define_singleton_method, :object_id, :to_enum, :enum_for, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__]
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 object-all-things.rb(main):009:0> 4.methods.each { |method| puts "4.#{method}" }
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 4.to_s
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 4.inspect
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.div
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.modulo
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 4.divmod
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 4.fdiv
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.abs
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 4.magnitude
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 4.==
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 4.===
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 4.<=>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 4.>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 4.>=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 4.<
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 4.<=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 4.~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 4.&
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 4.|
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 4.^
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 4.[]
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 4.<<
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 4.>>
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 4.to_f
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 4.size
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 4.bit_length
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 4.zero?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 4.odd?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 4.even?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 4.succ
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 4.integer?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 4.upto
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 4.downto
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 4.times
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 4.next
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 4.pred
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 4.chr
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 4.ord
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 4.to_i
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 4.to_int
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 4.floor
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 4.ceil
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 4.truncate
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 4.round
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 4.gcd
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 4.lcm
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 4.gcdlcm
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 4.numerator
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 4.denominator
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 4.to_r
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 4.rationalize
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 4.singleton_method_added
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 4.coerce
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 4.i
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 4.+@
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 4.eql?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 4.remainder
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 4.real?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 4.nonzero?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 4.step
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 4.quo
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 4.to_c
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 4.real
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 4.imaginary
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 4.imag
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 4.abs2
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 4.arg
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 4.angle
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 4.phase
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 4.rectangular
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 4.rect
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 4.polar
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 4.conjugate
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 4.conj
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 4.between?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 4.nil?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 4.=~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 4.!~
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 4.hash
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 4.class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 4.singleton_class
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 4.clone
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 4.dup
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 4.taint
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 4.tainted?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 4.untaint
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 4.untrust
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 4.untrusted?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 4.trust
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 4.freeze
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 4.frozen?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 4.methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 4.singleton_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 4.protected_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 4.private_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 4.public_methods
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 4.instance_variables
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 4.instance_variable_get
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 4.instance_variable_set
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 4.instance_variable_defined?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 4.remove_instance_variable
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 4.instance_of?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 4.kind_of?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 4.is_a?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 4.tap
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 4.send
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 4.public_send
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 4.respond_to?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 4.extend
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 4.display
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 4.method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 4.public_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 4.singleton_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 4.define_singleton_method
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 4.object_id
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 4.to_enum
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 4.enum_for
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 4.equal?
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 4.!
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 4.!=
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 4.instance_eval
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 4.instance_exec
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 4.__send__
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 4.__id__
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 => [:to_s, :inspect, :-@, :+, :-, :*, :/, :div, :%, :modulo, :divmod, :fdiv, :**, :abs, :magnitude, :==, :===, :<=>, :>, :>=, :<, :<=, :~, :&, :|, :^, :[], :<<, :>>, :to_f, :size, :bit_length, :zero?, :odd?, :even?, :succ, :integer?, :upto, :downto, :times, :next, :pred, :chr, :ord, :to_i, :to_int, :floor, :ceil, :truncate, :round, :gcd, :lcm, :gcdlcm, :numerator, :denominator, :to_r, :rationalize, :singleton_method_added, :coerce, :i, :+@, :eql?, :remainder, :real?, :nonzero?, :step, :quo, :to_c, :real, :imaginary, :imag, :abs2, :arg, :angle, :phase, :rectangular, :rect, :polar, :conjugate, :conj, :between?, :nil?, :=~, :!~, :hash, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to?, :extend, :display, :method, :public_method, :singleton_method, :define_singleton_method, :object_id, :to_enum, :enum_for, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__]
2b423d86da51 Add script and output for checking all-values-are-objects code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 object-all-things.rb(main):010:0>