Skip to content

Instantly share code, notes, and snippets.

@eric
Created November 23, 2009 17:56
Show Gist options
  • Select an option

  • Save eric/241233 to your computer and use it in GitHub Desktop.

Select an option

Save eric/241233 to your computer and use it in GitHub Desktop.
(gdb) ruby objects classes
1 YAML::Syck::Resolver
1 YAML::Syck::Resolver
1 SystemStackError
1 Object
1 Object
1 NoMemoryError
1 fatal
1 Object
1 Gem::ConfigFile
1 Resolv::DNS::Config
1 Resolv::DNS
1 Resolv::Hosts
1 Resolv
1 God::Logger
1 God::SimpleLogger
1 God::CLI::Run
1 DRb::DRbServer
1 DRb::DRbIdConv
1 Gem::CommandManager
1 OptionParser::Switch::OptionalArgument
1 OptionParser
1 MIME::Types
1 ActiveSupport::Deprecation::DeprecatedConstantProxy
1 ActiveSupport::Inflector::Inflections
1 REXML::XMLDecl
1 God::Registry
1 God::Socket
2 Date::Infinity
2 Set
3 OptionParser::List
4 God::System::SlashProcPoller
4 God::System::Process
5 REXML::Entity
6 OptionParser::Switch::RequiredArgument
7 DRb::DRbServer::InvokeMethod
8 Gem::Specification
8 Gem::Dependency
8 DRb::DRbMessage
8 DRb::DRbUNIXSocket
10 Rational
10 OptionParser::Switch::NoArgument
25 Gem::Version::Part
26 Gem::Requirement
27 Gem::Version
35 God::Conditions::MemoryUsage
35 God::Conditions::ProcessRunning
35 God::Behaviors::CleanPidFile
35 God::Process
35 God::Watch
35 God::Driver
35 God::DriverEventQueue
42 Process::Status
63 God::DriverEvent
70 God::Metric
134 Range
1197 MIME::Type
(gdb) ruby objects hashes
elements instances
0 25
1 123
2 99
3 10
4 11
5 8
6 19
7 47
8 7
9 1
10 2
11 7
12 6
13 3
16 2
18 1
19 1
21 1
25 4
27 1
30 4
31 2
36 1
38 37
39 1
40 1
62 14
63 3
64 1
66 1
77 1
87 1
89 2
100 1
147 2
170 1
253 1
488 1
1148 1
454 hashes
7053 member elements
(gdb) ruby objects arrays
elements instances
0 1303
1 2220
2 1400
3 172
4 47
5 46
6 13
7 11
8 5
9 6
10 8
11 3
12 7
13 5
14 1
15 1
17 2
18 16
19 8
20 2
21 8
22 1
23 2
24 7
25 6
26 2
27 3
28 1
29 1
30 3
31 4
32 2
34 1
35 1
36 1
37 1
41 1
44 1
50 1
77 1
86 1
89 1
114 1
144 1
186 1
214 1
345 1
385 1
446 1
522 1
3876 1
14942 1
21067 1
39221 1
43802 1
52727 1
54655 1
78020 1
93723 1
93996 1
94087 1
94118 2
94162 1
94171 1
94182 1
94228 1
94237 1
94267 1
94274 1
94278 1
94292 1
94297 2
94299 1
94306 1
94310 3
94311 3
94314 2
94316 1
5369 arrays
2863364 member elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment