Class: Xberg::DocumentSummary
- Inherits:
-
Object
- Object
- Xberg::DocumentSummary
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#strategy ⇒ enum_SummaryStrategy
readonly
Returns the value of attribute strategy.
-
#text ⇒ String
readonly
Returns the value of attribute text.
-
#token_count ⇒ Integer?
readonly
Returns the value of attribute token_count.
Instance Method Summary collapse
-
#initialize ⇒ DocumentSummary
constructor
A new instance of DocumentSummary.
Constructor Details
#initialize ⇒ DocumentSummary
Returns a new instance of DocumentSummary.
648 |
# File 'sig/types.rbs', line 648
def initialize: (text: String, strategy: enum_SummaryStrategy, ?token_count: Integer) -> void
|
Instance Attribute Details
#strategy ⇒ enum_SummaryStrategy (readonly)
Returns the value of attribute strategy.
645 646 647 |
# File 'sig/types.rbs', line 645 def strategy @strategy end |
#text ⇒ String (readonly)
Returns the value of attribute text.
644 645 646 |
# File 'sig/types.rbs', line 644 def text @text end |
#token_count ⇒ Integer? (readonly)
Returns the value of attribute token_count.
646 647 648 |
# File 'sig/types.rbs', line 646 def token_count @token_count end |