Sha256: 249a432e81efce7cc12b9459d3097fa1369a22a23407a320e8fc33fa323095a8

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 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

1 entries across 1 versions & 1 rubygems

Version Path
ludy-0.1.15 lib/ludy/kernel/public_send.rb