Method: Useless::Doc::Serialization::Dump.header

Defined in:
lib/useless/doc/serialization/dump.rb

.header(header) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



81
82
83
84
85
86
87
# File 'lib/useless/doc/serialization/dump.rb', line 81

def self.header(header)
  if header
    hash_to_json \
      'key' => header.key,
      'description' => header.description
  end
end