Class: Xberg::OcrMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOcrMetadata

Returns a new instance of OcrMetadata.

Parameters:

  • language: (String)
  • psm: (Integer)
  • output_format: (String)
  • table_count: (Integer)
  • table_rows: (Integer)
  • table_cols: (Integer)


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

def initialize: (?language: String, ?psm: Integer, ?output_format: String, ?table_count: Integer, ?table_rows: Integer, ?table_cols: Integer) -> void

Instance Attribute Details

#languageString (readonly)

Returns the value of attribute language.

Returns:

  • (String)


1728
1729
1730
# File 'sig/types.rbs', line 1728

def language
  @language
end

#output_formatString (readonly)

Returns the value of attribute output_format.

Returns:

  • (String)


1730
1731
1732
# File 'sig/types.rbs', line 1730

def output_format
  @output_format
end

#psmInteger (readonly)

Returns the value of attribute psm.

Returns:

  • (Integer)


1729
1730
1731
# File 'sig/types.rbs', line 1729

def psm
  @psm
end

#table_colsInteger? (readonly)

Returns the value of attribute table_cols.

Returns:

  • (Integer, nil)


1733
1734
1735
# File 'sig/types.rbs', line 1733

def table_cols
  @table_cols
end

#table_countInteger (readonly)

Returns the value of attribute table_count.

Returns:

  • (Integer)


1731
1732
1733
# File 'sig/types.rbs', line 1731

def table_count
  @table_count
end

#table_rowsInteger? (readonly)

Returns the value of attribute table_rows.

Returns:

  • (Integer, nil)


1732
1733
1734
# File 'sig/types.rbs', line 1732

def table_rows
  @table_rows
end