Sha256: ae16f442483e191ac9e14a97d25b3d6eecb841a9488ad82b0d53039b367f5c0f

Contents?: true

Size: 181 Bytes

Versions: 7

Compression:

Stored size: 181 Bytes

Contents

# This file is *not* loaded by default. You have to explicitly require 'hexp/core_ext/nil'

class NilClass
  HEXP_NIL = Hexp::TextNode.new('')

  def to_hexp
    HEXP_NIL
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hexp-0.4.6 lib/hexp/core_ext/nil.rb
hexp-0.4.5 lib/hexp/core_ext/nil.rb
hexp-0.4.4 lib/hexp/core_ext/nil.rb
hexp-0.4.3 lib/hexp/core_ext/nil.rb
hexp-0.4.2 lib/hexp/core_ext/nil.rb
hexp-0.4.1 lib/hexp/core_ext/nil.rb
hexp-0.4.0.beta1 lib/hexp/core_ext/nil.rb