diff --git a/lib/hub/args.rb b/lib/hub/args.rb index 2b58607d1a777b4369769059296e8830622ea8f8..c74681a8fd098957792b16e0b36a09d4f65e3942 100644 --- a/lib/hub/args.rb +++ b/lib/hub/args.rb @@ -29,7 +29,7 @@ module Hub # Boolean indicating whether an `after` callback has been set. def after? - defined?(@after) + !!defined?(@after) end end end