Class: Xberg::ElementMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeElementMetadata

Returns a new instance of ElementMetadata.

Parameters:

  • page_number: (Integer)
  • filename: (String)
  • coordinates: (BoundingBox)
  • element_index: (Integer)
  • additional: (Hash[String, String])


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

def initialize: (?page_number: Integer, ?filename: String, ?coordinates: BoundingBox, ?element_index: Integer, additional: Hash[String, String]) -> void

Instance Attribute Details

#additionalHash[String, String] (readonly)

Returns the value of attribute additional.

Returns:

  • (Hash[String, String])


1026
1027
1028
# File 'sig/types.rbs', line 1026

def additional
  @additional
end

#coordinatesBoundingBox (readonly)

Returns the value of attribute coordinates.

Returns:



1024
1025
1026
# File 'sig/types.rbs', line 1024

def coordinates
  @coordinates
end

#element_indexInteger (readonly)

Returns the value of attribute element_index.

Returns:

  • (Integer)


1025
1026
1027
# File 'sig/types.rbs', line 1025

def element_index
  @element_index
end

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1023
1024
1025
# File 'sig/types.rbs', line 1023

def filename
  @filename
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1022
1023
1024
# File 'sig/types.rbs', line 1022

def page_number
  @page_number
end