module Bcome::Node::RegistryManagement
Public Instance Methods
registry()
click to toggle source
# File lib/objects/modules/registry_management.rb, line 10 def registry command_group = user_command_wrapper if 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()
click to toggle source
# File lib/objects/modules/registry_management.rb, line 6 def user_command_wrapper @user_command_wrapper ||= ::Bcome::Registry::CommandList.instance.group_for_node(self) end