Module: Safely::Mixin

Defined in:
lib/safely/mixin.rb

Instance Method Summary collapse

Instance Method Details

#safelyObject



4
5
6
7
8
9
10
11
12
# File 'lib/safely/mixin.rb', line 4

def safely
  Safely.load_strategies!

  begin
    yield
  rescue => e
    Safely.report!( e )
  end
end