Thursday, June 04, 2026 1:49:05 AM
> test_to_ostruct.rb
# frozen_string_literal: true

require "test_helper"

class TestOstructToOstruct < Minitest::Test
  def test
    input = OpenStruct.new(foo: 1)

    assert_kind_of(OpenStruct, input.to_ostruct)
    assert_equal(input, input.to_ostruct)
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2