Sha256: 35549338e1dce6625f12d69e120d4ae2a41192e8bee3ce8ac2623e9874f9ef5c

Contents?: true

Size: 119 Bytes

Versions: 36

Compression:

Stored size: 119 Bytes

Contents

require "json"

module Ufo
  refine NilClass do
    def to_json
      JSON.generate(self)
    end
  end
end

using Ufo

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ufo-6.3.13 lib/ufo/ext/core/nil_class.rb
ufo-6.3.12 lib/ufo/ext/core/nil_class.rb
ufo-6.3.11 lib/ufo/ext/core/nil_class.rb
ufo-6.3.10 lib/ufo/ext/core/nil_class.rb
ufo-6.3.9 lib/ufo/ext/core/nil_class.rb
ufo-6.3.8 lib/ufo/ext/core/nil_class.rb
ufo-6.3.7 lib/ufo/ext/core/nil_class.rb
ufo-6.3.6 lib/ufo/ext/core/nil_class.rb
ufo-6.3.5 lib/ufo/ext/core/nil_class.rb
ufo-6.3.4 lib/ufo/ext/core/nil_class.rb
ufo-6.3.3 lib/ufo/ext/core/nil_class.rb
ufo-6.3.2 lib/ufo/ext/core/nil_class.rb
ufo-6.3.1 lib/ufo/ext/core/nil_class.rb
ufo-6.3.0 lib/ufo/ext/core/nil_class.rb
ufo-6.2.5 lib/ufo/ext/core/nil_class.rb
ufo-6.2.4 lib/ufo/ext/core/nil_class.rb
ufo-6.2.3 lib/ufo/ext/core/nil_class.rb
ufo-6.2.2 lib/ufo/ext/core/nil_class.rb
ufo-6.2.1 lib/ufo/ext/core/nil_class.rb
ufo-6.2.0 lib/ufo/ext/core/nil_class.rb