Sha256: 5ccc7fc7c2a539a65fbcdae2e62113d370a6e57200cb138077c328afd449885d
Contents?: true
Size: 340 Bytes
Versions: 3
Compression:
Stored size: 340 Bytes
Contents
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 else self.method_missing msg, *args, &block end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
godfat-ludy-0.1.13 | lib/ludy/kernel/public_send.rb |
ludy-0.1.13 | lib/ludy/kernel/public_send.rb |
ludy-0.1.11 | lib/ludy/kernel/public_send.rb |