Class: Supa::Commands::Namespace
- Inherits:
-
Supa::Command
- Object
- Supa::Command
- Supa::Commands::Namespace
- Defined in:
- lib/supa/commands/namespace.rb
Constant Summary
Constants inherited from Supa::Command
Supa::Command::UnsupportedModifier
Instance Method Summary collapse
Methods inherited from Supa::Command
Constructor Details
This class inherits a constructor from Supa::Command
Instance Method Details
permalink #represent ⇒ Object
[View source]
4 5 6 7 8 |
# File 'lib/supa/commands/namespace.rb', line 4 def represent @tree[@name] = {} Supa::Builder.new(@subject, representer: @representer, tree: @tree[@name]).instance_exec(&@block) end |