Method: CLI::UI::Widgets.register
- Defined in:
- lib/cli/ui/widgets.rb
.register(name, &cb) ⇒ Object
33 34 35 |
# File 'lib/cli/ui/widgets.rb', line 33 def register(name, &cb) MAP[name] = cb end |
33 34 35 |
# File 'lib/cli/ui/widgets.rb', line 33 def register(name, &cb) MAP[name] = cb end |