Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Includes:
- NestedText::NTEncodeMixin
- Defined in:
- lib/nestedtext/core_ext.rb
Overview
Extended with NestedText support.
Class Method Summary collapse
-
.nt_create(_data) ⇒ Object
Adds support for encoding and decoding nil.
Instance Method Summary collapse
-
#encode_nt_with ⇒ Object
Adds support for encoding and decoding nil.
Methods included from NestedText::NTEncodeMixin
Class Method Details
.nt_create(_data) ⇒ Object
Adds support for encoding and decoding nil.
24 |
# File 'lib/nestedtext/core_ext.rb', line 24 def self.nt_create(_data) = nil |
Instance Method Details
#encode_nt_with ⇒ Object
Adds support for encoding and decoding nil.
27 |
# File 'lib/nestedtext/core_ext.rb', line 27 def encode_nt_with() = "" |