```ruby
   def db
      @db ||= Db.new
   end
```