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: (String)
  • tables: (Array[String])
  • warnings: (Array[String])
  • citations: (Boolean)
  • fit_content: (String)


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

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

Instance Attribute Details

#citationsBoolean (readonly)

Returns the value of attribute citations.

Returns:

  • (Boolean)


357
358
359
# File 'sig/types.rbs', line 357

def citations
  @citations
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


353
354
355
# File 'sig/types.rbs', line 353

def content
  @content
end

#document_structureString? (readonly)

Returns the value of attribute document_structure.

Returns:

  • (String, nil)


354
355
356
# File 'sig/types.rbs', line 354

def document_structure
  @document_structure
end

#fit_contentString? (readonly)

Returns the value of attribute fit_content.

Returns:

  • (String, nil)


358
359
360
# File 'sig/types.rbs', line 358

def fit_content
  @fit_content
end

#tablesArray[String] (readonly)

Returns the value of attribute tables.

Returns:

  • (Array[String])


355
356
357
# File 'sig/types.rbs', line 355

def tables
  @tables
end

#warningsArray[String] (readonly)

Returns the value of attribute warnings.

Returns:

  • (Array[String])


356
357
358
# File 'sig/types.rbs', line 356

def warnings
  @warnings
end