Class: Crawlberg::MarkdownResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMarkdownResult

Returns a new instance of MarkdownResult.

Parameters:

  • content: (String)
  • document_structure: (json_value)
  • tables: (Array[json_value])
  • warnings: (Array[String])
  • citations: (Boolean)
  • fit_content: (String)


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

def initialize: (?content: String, ?document_structure: json_value, ?tables: Array[json_value], ?warnings: Array[String], ?citations: bool, ?fit_content: String) -> void

Instance Attribute Details

#citationsBoolean?

Returns the value of attribute citations.

Returns:

  • (Boolean, nil)


252
253
254
# File 'sig/types.rbs', line 252

def citations
  @citations
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


248
249
250
# File 'sig/types.rbs', line 248

def content
  @content
end

#document_structurejson_value?

Returns the value of attribute document_structure.

Returns:

  • (json_value, nil)


249
250
251
# File 'sig/types.rbs', line 249

def document_structure
  @document_structure
end

#fit_contentString?

Returns the value of attribute fit_content.

Returns:

  • (String, nil)


253
254
255
# File 'sig/types.rbs', line 253

def fit_content
  @fit_content
end

#tablesArray[json_value]?

Returns the value of attribute tables.

Returns:

  • (Array[json_value], nil)


250
251
252
# File 'sig/types.rbs', line 250

def tables
  @tables
end

#warningsArray[String]?

Returns the value of attribute warnings.

Returns:

  • (Array[String], nil)


251
252
253
# File 'sig/types.rbs', line 251

def warnings
  @warnings
end