Sha256: 82a9bbfd01bf7e523ffd6e5ebeba5aacbcc5dc56a013273129baf5d0f911ac06

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

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

        Supa::Builder.new(value, 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/object.rb