Class: Raml::Documentation

Inherits:
PropertiesNode show all
Defined in:
lib/raml/node/documentation.rb

Instance Attribute Summary collapse

Attributes inherited from PropertiesNode

#optional

Attributes inherited from Node

#name, #parent

Method Summary

Methods inherited from PropertiesNode

#_regexp_property, #initialize, #non_scalar_properties, #scalar_properties

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Raml::PropertiesNode

Instance Attribute Details

#contentString

Returns the documentation content.

Returns:

  • (String)

    the documentation content.



# File 'lib/raml/node/documentation.rb', line 4

#title=(value) ⇒ String

Returns the documentation title. An alias for #name.

Returns:

  • (String)

    the documentation title. An alias for #name.



10
# File 'lib/raml/node/documentation.rb', line 10

scalar_property :content