# File lib/grape_entity/options.rb, line 98
      def with_attr_path(part)
        stack = (opts_hash[:attr_path] ||= [])
        if part
          stack.push part
          result = yield
          stack.pop
          result
        else
          yield
        end
      end