Class: Xberg::Translation
- Inherits:
-
Object
- Object
- Xberg::Translation
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#formatted_content ⇒ String?
readonly
Returns the value of attribute formatted_content.
-
#source_lang ⇒ String?
readonly
Returns the value of attribute source_lang.
-
#target_lang ⇒ String
readonly
Returns the value of attribute target_lang.
Instance Method Summary collapse
-
#initialize ⇒ Translation
constructor
A new instance of Translation.
Constructor Details
#initialize ⇒ Translation
Returns a new instance of Translation.
2621 |
# File 'sig/types.rbs', line 2621 def initialize: (target_lang: String, ?source_lang: String, content: String, ?formatted_content: String) -> void |
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
2618 2619 2620 |
# File 'sig/types.rbs', line 2618 def content @content end |
#formatted_content ⇒ String? (readonly)
Returns the value of attribute formatted_content.
2619 2620 2621 |
# File 'sig/types.rbs', line 2619 def formatted_content @formatted_content end |
#source_lang ⇒ String? (readonly)
Returns the value of attribute source_lang.
2617 2618 2619 |
# File 'sig/types.rbs', line 2617 def source_lang @source_lang end |
#target_lang ⇒ String (readonly)
Returns the value of attribute target_lang.
2616 2617 2618 |
# File 'sig/types.rbs', line 2616 def target_lang @target_lang end |