Class: Spikard::ServerInfo
- Inherits:
-
Object
- Object
- Spikard::ServerInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ ServerInfo
constructor
A new instance of ServerInfo.
Constructor Details
#initialize ⇒ ServerInfo
Returns a new instance of ServerInfo.
381 |
# File 'sig/types.rbs', line 381
def initialize: (url: String, ?description: String) -> void
|
Instance Attribute Details
#description ⇒ String (readonly)
Returns the value of attribute description.
379 380 381 |
# File 'sig/types.rbs', line 379 def description @description end |
#url ⇒ String (readonly)
Returns the value of attribute url.
378 379 380 |
# File 'sig/types.rbs', line 378 def url @url end |