Module: Akabei::ThorHandler
- Defined in:
- lib/akabei/thor_handler.rb
Class Method Summary collapse
Class Method Details
.wrap(&block) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/akabei/thor_handler.rb', line 6 def wrap(&block) block.call 0 rescue Thor::Error => e $stderr.puts e. 10 end |