Class: Xberg::DocumentSummary
- Inherits:
-
Object
- Object
- Xberg::DocumentSummary
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#strategy ⇒ 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.
1675 |
# File 'sig/types.rbs', line 1675
def initialize: (text: String, strategy: SummaryStrategy, ?token_count: Integer) -> void
|
Instance Attribute Details
#strategy ⇒ SummaryStrategy (readonly)
Returns the value of attribute strategy.
1672 1673 1674 |
# File 'sig/types.rbs', line 1672 def strategy @strategy end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1671 1672 1673 |
# File 'sig/types.rbs', line 1671 def text @text end |
#token_count ⇒ Integer (readonly)
Returns the value of attribute token_count.
1673 1674 1675 |
# File 'sig/types.rbs', line 1673 def token_count @token_count end |