aetherknight / recursive-open-struct

OpenStruct subclass that returns nested hash attributes as RecursiveOpenStructs
Other
276 stars 54 forks source link

undefined method `map' for nil:NilClass #70

Closed lilith closed 2 years ago

lilith commented 2 years ago

Not sure if this is a known issue or if a repro test case is needed?

``NoMethodError: undefined methodmap' for nil:NilClass /home/lilith/.rbenv/versions/2.7.4/lib/ruby/2.7.0/ostruct.rb:328:in inspect' /home/lilith/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/recursive-open-struct-1.1.3/lib/recursive_open_struct.rb:129:inmethod_missing'