class Moxie::Thor
Public Instance Methods
safely() { || ... }
click to toggle source
# File lib/moxie/cli.rb, line 4 def safely begin yield if block_given? rescue Moxie::Error => e puts e.message exit 1 end end