Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Includes:
- NestedText::ToNTMixin
- 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::ToNTMixin
Class Method Details
.nt_create(_data) ⇒ Object
Adds support for encoding and decoding nil.
19 |
# File 'lib/nestedtext/core_ext.rb', line 19 def self.nt_create(_data) = nil |
Instance Method Details
#encode_nt_with ⇒ Object
Adds support for encoding and decoding nil.
22 |
# File 'lib/nestedtext/core_ext.rb', line 22 def encode_nt_with = '' |