WB.Resources.StaticDir.new

You're seeing just the function new, go back to WB.Resources.StaticDir module for more information.
Link to this function

new(path, root)