Method: PDK::CLI::ExecGroup#register
- Defined in:
- lib/pdk/cli/exec_group.rb
#register(&_block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Register something to execute as a group
40 41 42 |
# File 'lib/pdk/cli/exec_group.rb', line 40 def register(&_block) raise PDK::CLI::FatalError, _('No block registered') unless block_given? end |