Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.binary_mode
() -> ::String
binary_mode
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems.rb, line 292
def self.binary_mode
"rb"
end
The mode needed to read a file as straight binary.
See also
.already_loaded?
.bindir
.add_to_load_path
.bin_path
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0