Class: NilClass

Inherits:
Object show all
Extended by:
Icss::Meta::NilClassSchema
Defined in:
lib/icss/serialization/zaml.rb,
lib/icss/type/simple_types.rb

Overview

Behavior for built-in classes

Instance Method Summary collapse

Methods included from Icss::Meta::NilClassSchema

fullname, receive

Methods included from Icss::Meta::PrimitiveSchema

#doc, #doc=, #to_schema

Instance Method Details

#to_zaml(z = ZAML.new) ⇒ Object



224
225
226
# File 'lib/icss/serialization/zaml.rb', line 224

def to_zaml(z=ZAML.new)
  z.emit('')        # NOTE: blank turns into nil in YAML.load
end