Class: RamlParser::Model::Documentation
- Inherits:
-
Object
- Object
- RamlParser::Model::Documentation
- Defined in:
- lib/raml_parser/model.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title = nil, content = nil) ⇒ Documentation
constructor
A new instance of Documentation.
Constructor Details
#initialize(title = nil, content = nil) ⇒ Documentation
Returns a new instance of Documentation.
133 134 135 136 |
# File 'lib/raml_parser/model.rb', line 133 def initialize(title = nil, content = nil) @title = title @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
131 132 133 |
# File 'lib/raml_parser/model.rb', line 131 def content @content end |
#title ⇒ Object
Returns the value of attribute title.
131 132 133 |
# File 'lib/raml_parser/model.rb', line 131 def title @title end |