# File lib/confstruct/hash_with_struct_access.rb, line 126 def self.structurize hash result = hash if result.is_a?(Hash) and not result.is_a?(HashWithStructAccess) result = HashWithStructAccess.new(result) end result end