lib/ludy/kernel/public_send.rb in ludy-0.1.10 vs lib/ludy/kernel/public_send.rb in ludy-0.1.11

- old
+ new

@@ -1,6 +1,8 @@ -if RUBY_VERSION < '1.9.0' +require 'ludy/version' + +if Ludy::ruby_before '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