Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::SafeMarshal::Reader#read_float
read_float
lib/rubygems/safe_marshal/reader.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/safe_marshal/reader.rb, line 258
def read_float
string = read_bytes(read_integer)
Elements::Float.new(string)
end
No documentation available
See also
#read_false
#read_hash
#read_extended_object
#read_hash_with_default_value
also in
4.0 · 3.4 · 3.3