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)


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

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)


243
244
245
# File 'sig/types.rbs', line 243

def citations
  @citations
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


239
240
241
# File 'sig/types.rbs', line 239

def content
  @content
end

#document_structurejson_value?

Returns the value of attribute document_structure.

Returns:

  • (json_value, nil)


240
241
242
# File 'sig/types.rbs', line 240

def document_structure
  @document_structure
end

#fit_contentString?

Returns the value of attribute fit_content.

Returns:

  • (String, nil)


244
245
246
# File 'sig/types.rbs', line 244

def fit_content
  @fit_content
end

#tablesArray[json_value]?

Returns the value of attribute tables.

Returns:

  • (Array[json_value], nil)


241
242
243
# File 'sig/types.rbs', line 241

def tables
  @tables
end

#warningsArray[String]?

Returns the value of attribute warnings.

Returns:

  • (Array[String], nil)


242
243
244
# File 'sig/types.rbs', line 242

def warnings
  @warnings
end