Sha256: 3da64daac2142c95e9b2d942ca06be87c7edcbaeaf982fffd3c28eedab74af79
Contents?: true
Size: 276 Bytes
Versions: 3
Compression:
Stored size: 276 Bytes
Contents
require 'supa/command' module Supa module Commands class Object < Supa::Command def represent tree[name] = {} Supa::Builder.new(representer: representer, context: dynamic_value, 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/object.rb |
supa-0.2.2 | lib/supa/commands/object.rb |
supa-0.2.1 | lib/supa/commands/object.rb |