Sha256: 408c4fc1464128fc94682906b5cfe7f368a839bd21f5a51d08b643220347b0c0
Contents?: true
Size: 204 Bytes
Versions: 2
Compression:
Stored size: 204 Bytes
Contents
module Koalemos unless Object.method_defined?(:try) class Object alias_method :try, :__send__ end class ::NilClass def try(*a) nil end end end#unless end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
koalemos-0.0.2 | lib/koalemos/try.rb |
koalemos-0.0.1 | lib/koalemos/try.rb |