require 'supa/command' module Supa module Commands class Namespace < Supa::Command def represent tree[name] = {} Supa::Builder.new(context: context, tree: tree[name]).instance_exec(&block) end end end end