Sha256: 5187b6db9645a0540ad16f29f4fe309dd2d0e859e9af4058ae7f8e05d42b2086

Contents?: true

Size: 99 Bytes

Versions: 5

Compression:

Stored size: 99 Bytes

Contents

class Object
  def soft_send(method, *args)
    send method, *args if respond_to? method
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
freighthopper-0.1.14 lib/freighthopper/soft_send.rb
freighthopper-0.1.13 lib/freighthopper/soft_send.rb
freighthopper-0.1.12 lib/freighthopper/soft_send.rb
freighthopper-0.1.11 lib/freighthopper/soft_send.rb
freighthopper-0.1.9 lib/freighthopper/soft_send.rb