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.
558 |
# File 'sig/types.rbs', line 558
def initialize: (extension: String, mime_type: String) -> void
|
Instance Attribute Details
#extension ⇒ String (readonly)
Returns the value of attribute extension.
555 556 557 |
# File 'sig/types.rbs', line 555 def extension @extension end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
556 557 558 |
# File 'sig/types.rbs', line 556 def mime_type @mime_type end |