Class: Supa::Commands::Object

Inherits:
Supa::Command show all
Defined in:
lib/supa/commands/object.rb

Instance Method Summary collapse

Methods inherited from Supa::Command

#initialize

Constructor Details

This class inherits a constructor from Supa::Command

Instance Method Details

#representObject



6
7
8
9
10
# File 'lib/supa/commands/object.rb', line 6

def represent
  tree[name] = {}

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