lib/ludy/kernel/public_send.rb in ludy-0.1.1 vs lib/ludy/kernel/public_send.rb in ludy-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
-module Kernel
- if RUBY_VERSION < '1.9.0'
+if RUBY_VERSION < '1.9.0'
+ module Kernel
# it would be defined if RUBY_VERSION < '1.9.0', see rdoc in ruby 1.9
def public_send msg, *args, &block
if self.respond_to? msg
self.__send__ msg, *args, &block
else