Sha256: eecb1737091a3d7eec08bd0244184a27056f825b86a49ec384b3c00c9329ffc2

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

require 'supa/command'

module Supa
  module Commands
    class Namespace < Supa::Command
      def represent
        tree[name] = {}

        Supa::Builder.new(representer: representer, context: context, tree: tree[name]).instance_exec(&block)
      end
    end
  end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
supa-0.2.3 lib/supa/commands/namespace.rb
supa-0.2.2 lib/supa/commands/namespace.rb
supa-0.2.1 lib/supa/commands/namespace.rb