Project

General

Profile

Actions

Backport #6377

closed

$LOADED_FEATURES entry via YAML is binary data?

Added by trans (Thomas Sawyer) almost 12 years ago. Updated over 11 years ago.

Status:
Closed
[ruby-core:44750]

Description

=begin
While working with $LOADED_FEATURES, came across this odd result:

trans@logisys:courtier$ irb

irb(main):001:0> require 'yaml'

irb(main):002:0> puts $LOADED_FEATURES.join("\n")
enumerator.so
/home/trans/.local/lib/ry/rubies/1.9.3-p125/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
/home/trans/.local/lib/ry/rubies/1.9.3-p125/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
/home/trans/.local/lib/ry/rubies/1.9.3-p125/lib/ruby/1.9.1/rubygems/defaults.rb
...

irb(main):003:0> y $LOADED_FEATURES

  • enumerator.so
  • !binary |-
    L2hvbWUvdHJhbnMvLmxvY2FsL2xpYi9yeS9ydWJpZXMvMS45LjMtcDEyNS9s
    aWIvcnVieS8xLjkuMS94ODZfNjQtbGludXgvZW5jL2VuY2RiLnNv
  • /home/trans/.local/lib/ry/rubies/1.9.3-p125/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
  • /home/trans/.local/lib/ry/rubies/1.9.3-p125/lib/ruby/1.9.1/rubygems/defaults.rb
    ...

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0