Skip to content

Instantly share code, notes, and snippets.

@siman-man
Created February 28, 2017 10:33
Show Gist options
  • Save siman-man/e6fb2a7a65332830878bd38fb3ae0427 to your computer and use it in GitHub Desktop.
Save siman-man/e6fb2a7a65332830878bd38fb3ae0427 to your computer and use it in GitHub Desktop.
object_tree test
<C> BasicObject
├───── <M> Kernel
│ └───── <C> Object
│ ├───── <C> DidYouMean::Formatter
│ ├───── <C> Gem::ErrorReason
│ │ ├───── <C> Gem::SourceFetchProblem
│ │ └───── <C> Gem::PlatformMismatch
│ ├───── <C> Exception
│ │ ├───── <C> ScriptError
│ │ │ ├───── <C> LoadError
│ │ │ │ └───── <C> Gem::LoadError
│ │ │ │ ├───── <C> Gem::ConflictError
│ │ │ │ └───── <C> Gem::MissingSpecError
│ │ │ │ └───── <C> Gem::MissingSpecVersionError
│ │ │ ├───── <C> NotImplementedError
│ │ │ └───── <C> SyntaxError
│ │ ├───── <C> StandardError
│ │ │ ├───── <C> FiberError
│ │ │ ├───── <C> IndexError
│ │ │ │ ├───── <C> StopIteration
│ │ │ │ │ └───── <C> ClosedQueueError
│ │ │ │ └───── <C> KeyError
│ │ │ ├───── <C> ThreadError
│ │ │ ├───── <C> Math::DomainError
│ │ │ ├───── <C> LocalJumpError
│ │ │ ├───── <C> SystemCallError
│ │ │ │ ├───── <C> Errno::EINPROGRESS
│ │ │ │ │ ├───── <M> IO::WaitWritable
│ │ │ │ │ │ └───── <C> IO::EINPROGRESSWaitWritable
│ │ │ │ │ └───── <M> IO::WaitReadable
│ │ │ │ │ └───── <C> IO::EINPROGRESSWaitReadable
│ │ │ │ ├───── <C> Errno::EAGAIN
│ │ │ │ │ ├───── <M> IO::WaitWritable
│ │ │ │ │ │ └───── <C> IO::EAGAINWaitWritable
│ │ │ │ │ └───── <M> IO::WaitReadable
│ │ │ │ │ └───── <C> IO::EAGAINWaitReadable
│ │ │ │ ├───── <C> Errno::ERPCMISMATCH
│ │ │ │ ├───── <C> Errno::EPROGUNAVAIL
│ │ │ │ ├───── <C> Errno::EPROGMISMATCH
│ │ │ │ ├───── <C> Errno::EPROCUNAVAIL
│ │ │ │ ├───── <C> Errno::EPROCLIM
│ │ │ │ ├───── <C> Errno::ENOTSUP
│ │ │ │ ├───── <C> Errno::ENOATTR
│ │ │ │ ├───── <C> Errno::ENEEDAUTH
│ │ │ │ ├───── <C> Errno::EFTYPE
│ │ │ │ ├───── <C> Errno::EBADRPC
│ │ │ │ ├───── <C> Errno::EAUTH
│ │ │ │ ├───── <C> Errno::EOWNERDEAD
│ │ │ │ ├───── <C> Errno::ENOTRECOVERABLE
│ │ │ │ ├───── <C> Errno::ECANCELED
│ │ │ │ ├───── <C> Errno::EDQUOT
│ │ │ │ ├───── <C> Errno::ESTALE
│ │ │ │ ├───── <C> Errno::EALREADY
│ │ │ │ ├───── <C> Errno::EHOSTUNREACH
│ │ │ │ ├───── <C> Errno::EHOSTDOWN
│ │ │ │ ├───── <C> Errno::ECONNREFUSED
│ │ │ │ ├───── <C> Errno::ETIMEDOUT
│ │ │ │ ├───── <C> Errno::ETOOMANYREFS
│ │ │ │ ├───── <C> Errno::ESHUTDOWN
│ │ │ │ ├───── <C> Errno::ENOTCONN
│ │ │ │ ├───── <C> Errno::EISCONN
│ │ │ │ ├───── <C> Errno::ENOBUFS
│ │ │ │ ├───── <C> Errno::ECONNRESET
│ │ │ │ ├───── <C> Errno::ECONNABORTED
│ │ │ │ ├───── <C> Errno::ENETRESET
│ │ │ │ ├───── <C> Errno::ENETUNREACH
│ │ │ │ ├───── <C> Errno::ENETDOWN
│ │ │ │ ├───── <C> Errno::EADDRNOTAVAIL
│ │ │ │ ├───── <C> Errno::EADDRINUSE
│ │ │ │ ├───── <C> Errno::EAFNOSUPPORT
│ │ │ │ ├───── <C> Errno::EPFNOSUPPORT
│ │ │ │ ├───── <C> Errno::EOPNOTSUPP
│ │ │ │ ├───── <C> Errno::ESOCKTNOSUPPORT
│ │ │ │ ├───── <C> Errno::EPROTONOSUPPORT
│ │ │ │ ├───── <C> Errno::ENOPROTOOPT
│ │ │ │ ├───── <C> Errno::EPROTOTYPE
│ │ │ │ ├───── <C> Errno::EMSGSIZE
│ │ │ │ ├───── <C> Errno::EDESTADDRREQ
│ │ │ │ ├───── <C> Errno::ENOTSOCK
│ │ │ │ ├───── <C> Errno::EUSERS
│ │ │ │ ├───── <C> Errno::EILSEQ
│ │ │ │ ├───── <C> Errno::EOVERFLOW
│ │ │ │ ├───── <C> Errno::EBADMSG
│ │ │ │ ├───── <C> Errno::EMULTIHOP
│ │ │ │ ├───── <C> Errno::EPROTO
│ │ │ │ ├───── <C> Errno::ENOLINK
│ │ │ │ ├───── <C> Errno::EREMOTE
│ │ │ │ ├───── <C> Errno::ENOSR
│ │ │ │ ├───── <C> Errno::ETIME
│ │ │ │ ├───── <C> Errno::ENODATA
│ │ │ │ ├───── <C> Errno::ENOSTR
│ │ │ │ ├───── <C> Errno::EIDRM
│ │ │ │ ├───── <C> Errno::ENOMSG
│ │ │ │ ├───── <C> Errno::ELOOP
│ │ │ │ ├───── <C> Errno::ENOTEMPTY
│ │ │ │ ├───── <C> Errno::ENOSYS
│ │ │ │ ├───── <C> Errno::ENOLCK
│ │ │ │ ├───── <C> Errno::ENAMETOOLONG
│ │ │ │ ├───── <C> Errno::EDEADLK
│ │ │ │ ├───── <C> Errno::ERANGE
│ │ │ │ ├───── <C> Errno::EDOM
│ │ │ │ ├───── <C> Errno::EPIPE
│ │ │ │ ├───── <C> Errno::EMLINK
│ │ │ │ ├───── <C> Errno::EROFS
│ │ │ │ ├───── <C> Errno::ESPIPE
│ │ │ │ ├───── <C> Errno::ENOSPC
│ │ │ │ ├───── <C> Errno::EFBIG
│ │ │ │ ├───── <C> Errno::ETXTBSY
│ │ │ │ ├───── <C> Errno::ENOTTY
│ │ │ │ ├───── <C> Errno::EMFILE
│ │ │ │ ├───── <C> Errno::ENFILE
│ │ │ │ ├───── <C> Errno::EINVAL
│ │ │ │ ├───── <C> Errno::EISDIR
│ │ │ │ ├───── <C> Errno::ENOTDIR
│ │ │ │ ├───── <C> Errno::ENODEV
│ │ │ │ ├───── <C> Errno::EXDEV
│ │ │ │ ├───── <C> Errno::EEXIST
│ │ │ │ ├───── <C> Errno::EBUSY
│ │ │ │ ├───── <C> Errno::ENOTBLK
│ │ │ │ ├───── <C> Errno::EFAULT
│ │ │ │ ├───── <C> Errno::EACCES
│ │ │ │ ├───── <C> Errno::ENOMEM
│ │ │ │ ├───── <C> Errno::ECHILD
│ │ │ │ ├───── <C> Errno::EBADF
│ │ │ │ ├───── <C> Errno::ENOEXEC
│ │ │ │ ├───── <C> Errno::E2BIG
│ │ │ │ ├───── <C> Errno::ENXIO
│ │ │ │ ├───── <C> Errno::EIO
│ │ │ │ ├───── <C> Errno::EINTR
│ │ │ │ ├───── <C> Errno::ESRCH
│ │ │ │ ├───── <C> Errno::ENOENT
│ │ │ │ ├───── <C> Errno::EPERM
│ │ │ │ └───── <C> Errno::NOERROR
│ │ │ ├───── <C> IOError
│ │ │ │ └───── <C> EOFError
│ │ │ ├───── <C> EncodingError
│ │ │ │ ├───── <C> Encoding::ConverterNotFoundError
│ │ │ │ ├───── <C> Encoding::InvalidByteSequenceError
│ │ │ │ ├───── <C> Encoding::UndefinedConversionError
│ │ │ │ └───── <C> Encoding::CompatibilityError
│ │ │ ├───── <C> RegexpError
│ │ │ ├───── <C> RangeError
│ │ │ │ └───── <C> FloatDomainError
│ │ │ ├───── <C> ZeroDivisionError
│ │ │ ├───── <C> ArgumentError
│ │ │ │ ├───── <C> UncaughtThrowError
│ │ │ │ └───── <C> Gem::Requirement::BadRequirementError
│ │ │ ├───── <C> RuntimeError
│ │ │ │ └───── <C> Gem::Exception
│ │ │ │ ├───── <C> Gem::DependencyError
│ │ │ │ │ ├───── <C> Gem::UnsatisfiableDependencyError
│ │ │ │ │ └───── <C> Gem::DependencyResolutionError
│ │ │ │ ├───── <C> Gem::VerificationError
│ │ │ │ ├───── <C> Gem::RubyVersionMismatch
│ │ │ │ ├───── <C> Gem::RemoteSourceException
│ │ │ │ ├───── <C> Gem::RemoteInstallationSkipped
│ │ │ │ ├───── <C> Gem::RemoteInstallationCancelled
│ │ │ │ ├───── <C> Gem::RemoteError
│ │ │ │ ├───── <C> Gem::OperationNotSupportedError
│ │ │ │ ├───── <C> Gem::InvalidSpecificationException
│ │ │ │ ├───── <C> Gem::InstallError
│ │ │ │ ├───── <C> Gem::ImpossibleDependenciesError
│ │ │ │ ├───── <C> Gem::GemNotFoundException
│ │ │ │ │ └───── <C> Gem::SpecificGemNotFoundException
│ │ │ │ ├───── <C> Gem::FormatException
│ │ │ │ ├───── <C> Gem::FilePermissionError
│ │ │ │ ├───── <C> Gem::EndOfYAMLException
│ │ │ │ ├───── <C> Gem::DocumentError
│ │ │ │ ├───── <C> Gem::GemNotInHomeException
│ │ │ │ ├───── <C> Gem::DependencyRemovalException
│ │ │ │ └───── <C> Gem::CommandLineError
│ │ │ ├───── <C> NameError
│ │ │ │ └───── <M> DidYouMean::Correctable
│ │ │ │ └───── <C> NoMethodError
│ │ │ └───── <C> TypeError
│ │ ├───── <C> SystemStackError
│ │ ├───── <C> NoMemoryError
│ │ ├───── <C> SecurityError
│ │ ├───── <C> SignalException
│ │ │ └───── <C> Interrupt
│ │ ├───── <C> fatal
│ │ ├───── <C> SystemExit
│ │ │ └───── <C> Gem::SystemExitException
│ │ └───── <C> MonitorMixin::ConditionVariable::Timeout
│ ├───── <C> DidYouMean::NullChecker
│ ├───── <C> DidYouMean::MethodNameChecker
│ ├───── <C> TracePoint
│ ├───── <C> Complex::compatible
│ ├───── <M> Comparable
│ │ ├───── <C> Numeric
│ │ │ ├───── <C> Complex
│ │ │ ├───── <C> Rational
│ │ │ ├───── <C> Float
│ │ │ └───── <C> Integer
│ │ ├───── <C> Time
│ │ ├───── <C> File::Stat
│ │ ├───── <C> Symbol
│ │ ├───── <M> Colorize::InstanceMethods
│ │ │ └───── <C> String
│ │ └───── <C> Gem::Version
│ ├───── <C> Rational::compatible
│ ├───── <C> Fiber
│ ├───── <C> Module
│ │ ├───── <C> #<Class:Process::Sys>
│ │ ├───── <C> #<Class:Process::GID>
│ │ ├───── <C> #<Class:Process::UID>
│ │ ├───── <C> #<Class:Process>
│ │ ├───── <C> Class
│ │ │ └───── <C> #<Class:BasicObject>
│ │ │ ├───── <C> #<Class:Object>
│ │ │ │ ├───── <C> #<Class:Thread>
│ │ │ │ ├───── <C> #<Class:Time>
│ │ │ │ ├───── <M> Colorize::ClassMethods
│ │ │ │ │ └───── <C> #<Class:String>
│ │ │ │ ├───── <C> #<Class:Module>
│ │ │ │ │ └───── <C> #<Class:Class>
│ │ │ │ ├───── <C> #<Class:ObjectTree>
│ │ │ │ ├───── <C> #<Class:Gem::Version>
│ │ │ │ ├───── <C> #<Class:Gem::BasicSpecification>
│ │ │ │ │ ├───── <M> Enumerable
│ │ │ │ │ │ └───── <M> Gem::Deprecate
│ │ │ │ │ │ └───── <C> #<Class:Gem::Specification>
│ │ │ │ │ └───── <C> #<Class:Gem::StubSpecification>
│ │ │ │ ├───── <C> #<Class:Gem::List>
│ │ │ │ ├───── <C> #<Class:Gem::Requirement>
│ │ │ │ └───── <C> #<Class:Gem::Platform>
│ │ │ └───── <C> #<Class:Delegator>
│ │ ├───── <C> #<Class:ObjectSpace>
│ │ ├───── <C> #<Class:GC::Profiler>
│ │ ├───── <C> #<Class:GC>
│ │ ├───── <C> #<Class:Math>
│ │ ├───── <C> #<Class:Gem::Deprecate>
│ │ ├───── <C> #<Class:Signal>
│ │ ├───── <C> #<Class:DidYouMean::NameErrorCheckers>
│ │ ├───── <C> #<Class:FileTest>
│ │ ├───── <C> #<Class:Marshal>
│ │ ├───── <M> Warning
│ │ │ └───── <C> #<Class:Warning>
│ │ ├───── <C> #<Class:Kernel>
│ │ ├───── <C> #<Class:#<Module:0x007f7f5990a968>>
│ │ ├───── <C> #<Class:Gem>
│ │ ├───── <C> #<Class:DidYouMean::Levenshtein>
│ │ ├───── <C> #<Class:DidYouMean::JaroWinkler>
│ │ ├───── <C> #<Class:DidYouMean::Jaro>
│ │ ├───── <C> #<Class:RbConfig>
│ │ └───── <C> #<Class:MonitorMixin>
│ ├───── <M> Enumerable
│ │ ├───── <C> Struct
│ │ │ ├───── <C> Process::Tms
│ │ │ ├───── <C> #<Class:0x007f7f5995fe90>
│ │ │ └───── <C> #<Class:0x007f7f5a03ae90>
│ │ ├───── <C> Enumerator::Generator
│ │ ├───── <C> Enumerator
│ │ │ └───── <C> Enumerator::Lazy
│ │ ├───── <C> ObjectSpace::WeakMap
│ │ ├───── <C> Dir
│ │ ├───── <M> File::Constants
│ │ │ └───── <C> IO
│ │ │ └───── <C> File
│ │ ├───── <C> ARGF.class
│ │ ├───── <C> Range
│ │ ├───── <C> #<Class:#<Object:0x007f7f598a7f48>>
│ │ ├───── <C> Hash
│ │ ├───── <C> Array
│ │ └───── <C> Gem::List
│ ├───── <C> Process::Status
│ ├───── <C> Thread
│ │ └───── <C> Process::Waiter
│ ├───── <C> Thread::ConditionVariable
│ ├───── <C> Thread::Queue
│ │ └───── <C> Thread::SizedQueue
│ ├───── <C> Thread::Mutex
│ ├───── <C> ThreadGroup
│ ├───── <C> RubyVM::InstructionSequence
│ ├───── <C> Thread::Backtrace::Location
│ ├───── <C> Thread::Backtrace
│ ├───── <C> RubyVM
│ ├───── <C> Enumerator::Yielder
│ ├───── <C> Binding
│ ├───── <C> UnboundMethod
│ ├───── <C> Method
│ ├───── <C> Proc
│ ├───── <M> Random::Formatter
│ │ └───── <C> Random
│ ├───── <C> DidYouMean::VariableNameChecker
│ ├───── <C> Data
│ │ ├───── <C> Encoding::Converter
│ │ ├───── <C> NameError::message
│ │ └───── <M> Enumerable
│ │ └───── <M> IO::generic_readable
│ │ └───── <M> IO::generic_writable
│ │ └───── <C> StringIO
│ ├───── <C> MatchData
│ ├───── <C> Regexp
│ ├───── <C> Encoding
│ ├───── <C> #<Class:#<Object:0x007f7f598d6398>>
│ ├───── <C> FalseClass
│ ├───── <C> TrueClass
│ ├───── <C> NilClass
│ ├───── <C> DidYouMean::ClassNameChecker
│ ├───── <C> Gem::Dependency
│ ├───── <C> ObjectTree
│ ├───── <C> DidYouMean::SpellChecker
│ ├───── <C> Gem::PathSupport
│ ├───── <M> MonitorMixin
│ │ └───── <C> Monitor
│ ├───── <C> MonitorMixin::ConditionVariable
│ ├───── <C> #<Class:#<Object:0x007f7f5a033f00>>
│ ├───── <C> Gem::BasicSpecification
│ │ ├───── <C> Gem::Specification
│ │ └───── <C> Gem::StubSpecification
│ ├───── <C> Gem::StubSpecification::StubLine
│ ├───── <C> Gem::Requirement
│ └───── <C> Gem::Platform
└───── <M> #<Module:0x007f7f5990a968>
└───── <C> Delegator
└───── <C> SimpleDelegator
└───── <C> DidYouMean::ClassNameChecker::ClassName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment