| example = OpenStruct.new | |
| example.marshal_load = "example;example;example" # => "example;example;example" | |
| example.table # => nil | |
| example # => #<OpenStruct marshal_load="example;example;example"> | |
| example.marshal_load # => ArgumentError: wrong number of arguments (0 for 1) | |
| example.marshal_load "red" # => NoMethodError: undefined method `each_key' for "red":String | |
| example # => #<OpenStruct:0x3fd970c44120> | |
| example.table # => TypeError: can't convert Symbol into Integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment