Class: Xberg::SupportedFormat
- Inherits:
-
Object
- Object
- Xberg::SupportedFormat
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#extension ⇒ String
readonly
Returns the value of attribute extension.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
Instance Method Summary collapse
-
#initialize ⇒ SupportedFormat
constructor
A new instance of SupportedFormat.
Constructor Details
#initialize ⇒ SupportedFormat
Returns a new instance of SupportedFormat.
560 |
# File 'sig/types.rbs', line 560
def initialize: (extension: String, mime_type: String) -> void
|
Instance Attribute Details
#extension ⇒ String (readonly)
Returns the value of attribute extension.
557 558 559 |
# File 'sig/types.rbs', line 557 def extension @extension end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
558 559 560 |
# File 'sig/types.rbs', line 558 def mime_type @mime_type end |