Class: Xberg::DocumentSummary

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentSummary

Returns a new instance of DocumentSummary.

Parameters:



1675
# File 'sig/types.rbs', line 1675

def initialize: (text: String, strategy: SummaryStrategy, ?token_count: Integer) -> void

Instance Attribute Details

#strategySummaryStrategy (readonly)

Returns the value of attribute strategy.

Returns:



1672
1673
1674
# File 'sig/types.rbs', line 1672

def strategy
  @strategy
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1671
1672
1673
# File 'sig/types.rbs', line 1671

def text
  @text
end

#token_countInteger (readonly)

Returns the value of attribute token_count.

Returns:

  • (Integer)


1673
1674
1675
# File 'sig/types.rbs', line 1673

def token_count
  @token_count
end