Class: Angus::SDoc::Definitions::UriElement
- Inherits:
-
Object
- Object
- Angus::SDoc::Definitions::UriElement
- Defined in:
- lib/angus/definitions/uri_element.rb
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the uri element.
-
#name ⇒ String
The name of the uri element.
Instance Method Summary collapse
-
#initialize(name = nil, description = nil) ⇒ UriElement
constructor
A new instance of UriElement.
Constructor Details
#initialize(name = nil, description = nil) ⇒ UriElement
Returns a new instance of UriElement.
13 14 15 16 |
# File 'lib/angus/definitions/uri_element.rb', line 13 def initialize(name = nil, description = nil) @name = name @description = description end |
Instance Attribute Details
#description ⇒ String
Returns the description of the uri element.
11 12 13 |
# File 'lib/angus/definitions/uri_element.rb', line 11 def description @description end |
#name ⇒ String
Returns the name of the uri element.
7 8 9 |
# File 'lib/angus/definitions/uri_element.rb', line 7 def name @name end |