diff --git a/motion/core_ext/object/try.rb b/motion/core_ext/object/try.rb index 47ea3bc..2a720d3 100644 --- a/motion/core_ext/object/try.rb +++ b/motion/core_ext/object/try.rb @@ -31,7 +31,7 @@ def try(*a, &b) if a.empty? && block_given? yield self else - public_send(*a, &b) + __send__(*a, &b) end end end