def ui_group(resource, color = :cyan) # :yields: ui
    ui_resource = ui.resource
    ui.resource = Util::Console.colorize(resource, color)
    yield(ui)

  ensure
    ui.resource = ui_resource
  end
def ui_group(resource, color = :cyan) # :yields: ui
    ui_resource = ui.resource
    ui.resource = Util::Console.colorize(resource, color)
    yield(ui)

  ensure
    ui.resource = ui_resource
  end
Contextualize console operations in a code block with a given resource name.

 * *Parameters*
   - [String, Symbol] *resource*  Console resource identifier (prefix)
   - [Symbol] *color*  Color to use; *:black*, *:red*, *:green*, *:yellow*, *:blue*, *:purple*, *:cyan*, *:grey*

 * *Returns*
   - [Void]  This method does not return a value

 * *Errors*

 * *Yields*
   - [Nucleon::Util::Console] *ui*  Current object console instance

 See also:
 - Nucleon::Util::Console::colorize