Method: CLI::UI::Widgets.register

Defined in:
lib/cli/ui/widgets.rb

.register(name, &cb) ⇒ Object



32
33
34
# File 'lib/cli/ui/widgets.rb', line 32

def register(name, &cb)
  MAP[name] = cb
end