Sha256: 738bae25e9496c87ce9885107cad09f0552c7a7327d1b9b7d8fb9c95da22ff63

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

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


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
supa-0.1.4 lib/supa/commands/namespace.rb
supa-0.1.3 lib/supa/commands/namespace.rb
supa-0.1.2 lib/supa/commands/namespace.rb
supa-0.1.1 lib/supa/commands/namespace.rb