Sha256: fc9b425ad0264a30e81c249b35b489a46fc019d455abd5c37a4659b0b1c88609
Contents?: true
Size: 173 Bytes
Versions: 73
Compression:
Stored size: 173 Bytes
Contents
module ObjectExtensions def try_all(*methods) methods.map(&:to_sym).each do |method| next unless respond_to?(method) return send(method) end end end
Version data entries
73 entries across 73 versions & 2 rubygems