Sha256: 2d85783a806c2e9b7f803a450c15aabb48045e53b7212688328d1273d4711009

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
supa-0.2.0 lib/supa/commands/namespace.rb