Module: Bcome::Node::RegistryManagement
- Included in:
- Base
- Defined in:
- lib/objects/modules/registry_management.rb
Instance Method Summary collapse
Instance Method Details
#registry ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/objects/modules/registry_management.rb', line 6 def registry command_group = user_command_wrapper if command_group && command_group.has_commands? command_group.pretty_print else puts "\nYou have no registry commands configured for this namespace.\n".warning end end |
#user_command_wrapper ⇒ Object
2 3 4 |
# File 'lib/objects/modules/registry_management.rb', line 2 def user_command_wrapper @user_command_wrapper ||= ::Bcome::Registry::CommandList.instance.group_for_node(self) end |