Skip to content

Instantly share code, notes, and snippets.

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