Class: RamlParser::Model::Documentation

Inherits:
Object
  • Object
show all
Defined in:
lib/raml_parser/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content.



131
132
133
# File 'lib/raml_parser/model.rb', line 131

def content
  @content
end

#titleObject

Returns the value of attribute title.



131
132
133
# File 'lib/raml_parser/model.rb', line 131

def title
  @title
end