End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenStruct#to_h
to_h(&block)
lib/ostruct.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/ostruct.rb, line 170
def to_h(&block)
if block
@table.to_h(&block)
else
@table.dup
end
end
No documentation available