Class: Angus::SDoc::Definitions::UriElement

Inherits:
Object
  • Object
show all
Defined in:
lib/angus/definitions/uri_element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionString

Returns the description of the uri element.

Returns:

  • (String)

    the description of the uri element.



11
12
13
# File 'lib/angus/definitions/uri_element.rb', line 11

def description
  @description
end

#nameString

Returns the name of the uri element.

Returns:

  • (String)

    the name of the uri element.



7
8
9
# File 'lib/angus/definitions/uri_element.rb', line 7

def name
  @name
end