Sha256: 2037bf9d310ef9ce48b8dc73bba89562a9e32ab80089004f9cd22d2dd76eb8fa

Contents?: true

Size: 72 Bytes

Versions: 4

Compression:

Stored size: 72 Bytes

Contents

class NilClass
  def to_h
    {}
  end unless method_defined? :to_h
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
backports-3.0.3 lib/backports/2.0.0/nil_class.rb
backports-3.0.2 lib/backports/2.0.0/nil_class.rb
backports-3.0.1 lib/backports/2.0.0/nil_class.rb
backports-3.0.0 lib/backports/2.0.0/nil_class.rb