Skip to content

Instantly share code, notes, and snippets.

@zzak
Last active December 14, 2015 03:28
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 zzak/5020933 to your computer and use it in GitHub Desktop.
Save zzak/5020933 to your computer and use it in GitHub Desktop.
output from marcandre's digest.rb
$ ruby digest.rb | /usr/local/bin/ruby digest.rb
{:added=>
{"Gem::Version"=>"all",
"Gem::Specification"=>"all",
"Date"=>"all",
"Gem::Platform"=>"all",
"Gem"=>
{"public singleton methods"=>
[:path_separator,
:needs,
:finish_resolve,
:detect_gemdeps,
:install,
:done_installing,
:rubygems_version,
:register_default_spec,
:find_unresolved_default_spec,
:remove_unresolved_default_spec,
:clear_default_specs,
:done_installing_hooks]},
"TracePoint"=>"all",
"Complex::compatible"=>"all",
"Complex"=>
{"private instance methods"=>[:marshal_dump],
"public instance methods"=>[:to_c]},
"Rational::compatible"=>"all",
"Rational"=>{"private instance methods"=>[:marshal_dump]},
"Mutex"=>{"public instance methods"=>[:owned?]},
"RubyVM::InstructionSequence"=>
{"public instance methods"=>
[:path, :absolute_path, :label, :base_label, :first_lineno],
"public singleton methods"=>[:of]},
"Thread::Backtrace::Location"=>"all",
"Thread::Backtrace"=>"all",
"Thread"=>
{"public instance methods"=>
[:pending_interrupt?,
:thread_variable_get,
:thread_variable_set,
:thread_variables,
:thread_variable?,
:backtrace_locations],
"public singleton methods"=>[:handle_interrupt, :pending_interrupt?]},
"Enumerator::Lazy"=>"all",
"Enumerator"=>{"public instance methods"=>[:size]},
"ObjectSpace::WeakMap"=>"all",
"GC::Profiler"=>{"public singleton methods"=>[:raw_data]},
"UnboundMethod"=>{"public instance methods"=>[:original_name]},
"Method"=>{"public instance methods"=>[:original_name]},
"Proc"=>{"public instance methods"=>[:inspect]},
"Process::GID"=>
{"private instance methods"=>[:from_name],
"public singleton methods"=>[:from_name]},
"Process::UID"=>
{"private instance methods"=>[:from_name],
"public singleton methods"=>[:from_name]},
"Process"=>
{"private instance methods"=>[:getsid],
"public singleton methods"=>[:getsid]},
"Signal"=>
{"private instance methods"=>[:signame],
"public singleton methods"=>[:signame]},
"Random"=>{"private instance methods"=>[:marshal_dump, :marshal_load]},
"Time"=>
{"private instance methods"=>[:_dump],
"private singleton methods"=>[:_load]},
"ARGF.class"=>{"public instance methods"=>[:inspect]},
"Range"=>{"public instance methods"=>[:bsearch, :size]},
"Struct"=>{"public instance methods"=>[:to_h]},
"Hash"=>{"public instance methods"=>[:to_h]},
"Array"=>{"public instance methods"=>[:bsearch]},
"Bignum"=>{"public instance methods"=>[:inspect]},
"Float"=>{"public instance methods"=>[:inspect]},
"Fixnum"=>{"public instance methods"=>[:inspect]},
"LoadError"=>{"public instance methods"=>[:path]},
"Exception"=>
{"private instance methods"=>[:method_missing, :respond_to_missing?],
"public instance methods"=>[:respond_to?]},
"String"=>{"public instance methods"=>[:b]},
"Enumerable"=>{"public instance methods"=>[:lazy]},
"FalseClass"=>{"public instance methods"=>[:inspect]},
"TrueClass"=>{"public instance methods"=>[:inspect]},
"NilClass"=>{"public instance methods"=>[:to_h]},
"Kernel"=>
{"private instance methods"=>
[:initialize_dup,
:initialize_clone,
:Hash,
:__dir__,
:respond_to_missing?,
:caller_locations],
"public instance methods"=>[:remove_instance_variable],
"public singleton methods"=>[:Hash, :__dir__, :caller_locations]},
"Module"=>
{"private instance methods"=>
[:prepended, :used, :prepend_features, :prepend, :refine],
"public instance methods"=>[:inspect]},
"Gem::Requirement::BadRequirementError"=>"all",
"Gem::Requirement"=>"all",
"Gem::SourceFetchProblem"=>"all",
"Gem::PlatformMismatch"=>"all",
"Gem::ErrorReason"=>"all",
"Gem::SpecificGemNotFoundException"=>"all",
"Gem::FilePermissionError"=>{"public instance methods"=>[:directory]},
"Gem::Exception"=>
{"public instance methods"=>[:source_exception, :source_exception=]}},
:removed=>
{"Gem"=>
{"private singleton methods"=>
[:each_load_path,
:latest_partials,
:_deprecated_all_partials,
:_deprecated_report_activate_error],
"public singleton methods"=>
[:default_system_source_cache_dir,
:default_user_source_cache_dir,
:activate,
:activate_dep,
:activate_spec,
:unresolved_deps,
:all_load_paths,
:all_partials,
:available?,
:latest_load_paths,
:cache_dir,
:cache_gem,
:promote_load_path,
:report_activate_error,
:required_location,
:searcher,
:source_index,
:loaded_path?,
:cache,
:_deprecated_activate_dep,
:_deprecated_activate_spec,
:_deprecated_cache,
:_deprecated_activate,
:_deprecated_all_load_paths,
:_deprecated_latest_load_paths,
:_deprecated_promote_load_path,
:_deprecated_available?,
:_deprecated_cache_dir,
:_deprecated_cache_gem,
:_deprecated_default_system_source_cache_dir,
:_deprecated_default_user_source_cache_dir,
:_deprecated_required_location,
:_deprecated_searcher,
:_deprecated_source_index]},
"Complex"=>{"public instance methods"=>[:marshal_dump, :marshal_load]},
"Rational"=>{"public instance methods"=>[:marshal_dump, :marshal_load]},
"Proc"=>{"public instance methods"=>[:==, :eql?]},
"Random"=>{"public instance methods"=>[:marshal_dump, :marshal_load]},
"Time"=>
{"public instance methods"=>[:_dump],
"public singleton methods"=>[:_load]},
"fatal"=>"all",
"Kernel"=>
{"private instance methods"=>[:remove_instance_variable],
"public instance methods"=>
[:initialize_dup, :initialize_clone, :respond_to_missing?]},
"RbConfig"=>{"public singleton methods"=>[:datadir]},
"Gem::GemNotFoundException"=>
{"private instance methods"=>[:initialize],
"public instance methods"=>[:name, :version, :errors]}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment